| 数据搜索系统,热门电子元器件搜索 |
|
DFR0498 数据表(PDF) 10 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0498 数据表(HTML) 10 Page - DFROBOT |
|
10 / 24 page ![]() eState=eRecording; }else if((!digitalRead(buttonPin))&&eState==eRecording){ timepoint = millis(); iis.recorderControl(STOP); // Stop recording Serial.println("Stop and save data"); eState=eStop; }else if((!digitalRead(buttonPin))&&eState==eStop){ timepoint = millis(); iis.playMusic("/record.WAV"); // Play your record iis.setSpeakersVolume(50); iis.setHeadphonesVolume(50); iis.playerControl(PLAY); eState=ePrepare; } delay(100); } } Program Function: Pressing to record when downloaded, repressing the button to stop and save the file: record.wav to SD card and press to play it. • Functions: • SDCardInit(): • Initialize SD card in the beginning. • init(AUDIO): • Enter AUDIO mode, state its mode (AUDIO / CAMERA) in use when the SD card is initialized. • initRecorder(): • Initialize the recorder: to prepare for calling the record function in AUDIO. • record("/record.WAV"): • Name the record file that will be saved to the SD card, call and play. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |