DFRobot DFR0699 매뉴얼 - 페이지 7

{카테고리_이름} DFRobot DFR0699에 대한 매뉴얼을 온라인으로 검색하거나 PDF를 다운로드하세요. DFRobot DFR0699 20 페이지.

DFRobot DFR0699 매뉴얼
#include "DFRobot_VoiceRecorder.h"
#define I2C_ADDRESS
0x30 // default I2C address 0x30
DFRobot_VoiceRecorder_I2C voicerecorder(&Wire, I2C_ADDRESS);
void setup()
{
Serial.begin(115200);
while (voicerecorder.begin() != 0) {
Serial.println("i2c device number error!");
delay(1000);
} Serial.println("i2c connect success!");
Serial.println("Delect Voice 0");
voicerecorder.setVoiceNumber(VOICE_NUMBER_0);
Serial.println("Delete Voice");
voicerecorder.deleteVoice();
for (int8_t n = 3; n > 0; n--)
{
Serial.println(n);
delay(1000);
}
Serial.println("Recode Start");
voicerecorder.recordvoiceStart();
for (int8_t n = 20; n > 0; n--)
{