| Os motores de busca de Datasheet de Componentes eletrônicos |
|
DFR0768 Folha de dados(PDF) 9 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0768 Folha de dados(HTML) 9 Page - DFROBOT |
|
9 / 17 page ![]() /*! *@file play.ino *@brief Music Playing Example Program *@details Experimental phenomenon: control MP3 play music, obtain song infor *@copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) *@license The MIT license (MIT) *@author [fengli](li.feng@dfrobot.com) *@version V1.1 *@date 2021-10-15 *@url https://github.com/DFRobot/DFRobot_DF1201S */ #include <DFRobot_DF1201S.h> #include <SoftwareSerial.h> SoftwareSerial DF1201SSerial(2, 3); //RX TX DFRobot_DF1201S DF1201S; void setup(void){ Serial.begin(115200); DF1201SSerial.begin(115200); while(!DF1201S.begin(DF1201SSerial)){ Serial.println("Init failed, please check the wire connection!"); delay(1000); } /*Set volume to 20*/ DF1201S.setVol(/*VOL = */20); Serial.print("VOL:"); /*Get volume*/ Serial.println(DF1201S.getVol()); /*Enter music mode*/ DF1201S.switchFunction(DF1201S.MUSIC); /*Wait for the end of the prompt tone */ delay(2000); /*Set playback mode to "repeat all"*/ 7/7/24, 7:16 PM DFPlayer Pro - A Mini MP3 Player for Arduino WiKi - DFRobot https://wiki.dfrobot.com/DFPlayer_PRO_SKU_DFR0768 9/17 |
|
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |