![]() Start communication with DFPlayer Mini if (player. Init USB serial port for debugging Serial. GESON RM-155Pro AM FM Radio Portable Mini USB Speaker MP3 Music Player SupportMicro SD/TF Auto Scan Save LED Display USB Transmit Data and Sound Card. ![]() ![]() #include "SoftwareSerial.h" #include "DFRobotDFPlayerMini.h" // Use pins 2 and 3 to communicate with DFPlayer Mini static const uint8_t PIN_MP3_TX = 2 // Connects to module's RX static const uint8_t PIN_MP3_RX = 3 // Connects to module's TX SoftwareSerial softwareSerial(PIN_MP3_RX, PIN_MP3_TX) This is a simple example that starts playing the first MP3 file on the SD card after Arduino start up: Nulaxy Wireless In-Car Bluetooth FM Transmitter Radio Adapter Car Kit W 1.44 Inch Display Supports TF/SD Card and USB Car Charger for All Smartphones Audio Players. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |