TOP Contributors

  1. MIKROE (2642 codes)
  2. Alcides Ramos (347 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136220 times)
  2. FAT32 Library (69487 times)
  3. Network Ethernet Library (55706 times)
  4. USB Device Library (45992 times)
  5. Network WiFi Library (41639 times)
  6. FT800 Library (40782 times)
  7. GSM click (28788 times)
  8. PID Library (26331 times)
  9. mikroSDK (26053 times)
  10. microSD click (25140 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

DFplayer mini

Rating:

0

Author: Israel Redondo

Last Updated: 2020-07-22

Package Version: 1.0.0.0

Category: Audio & Speech

Downloaded: 217 times

Not followed.

License: De libre uso y Distribución  

Código parar modulo MP3 DFplayer mini, Con archivo de ejemplo

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "DFplayer mini" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "DFplayer mini" changes.

Do you want to report abuse regarding "DFplayer mini".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

/*------------------------------------------------------------------------------
PROGRAMA DE EJEMPLO CON EL PIC16F628A CONFIGURADO CON OSCILADOR INTERNO A 4MHZ
UTILIZANDO LA LIBRERIA "DFplayer.h" LA CUAL TIENE COMO UNICA FUNCION
DFplayer(parametro, parametro);
------------------------------------------------------------------------------*/

#include "DFplayer.h"
void main(){
OSCF_Bit=1;/*OSCF: INTOSC Oscillator Frequency bit
1 = 4 MHz typical---0 = 48 kHz typical*/
CMCON = 7; //apaga comparadores
TRISB = 0b00000010;
portb = 0;
TRISA = 0b00000000;
porta = 0;
UART1_Init(9600);
Delay_ms(2000);/*para esperar que encienda el amplificador y otros*/
DFplayer(track, 1);/*Define la pista (1) para reproducir en DFplayer*/
delay_ms(100);
DFplayer(volume,30);/*Establece el volumen en 30*/
delay_ms(100);
DFplayer( play ); /*reproduce*/
delay_ms(100);
DFplayer(repeat_track, 1); /*Reproduce repetidamente la pista */
while(1){
}
}

RELATED CODES

WM8731 - Example

0

This project demonstrates communication with WM8731 audio codec.
Program reads one wav file from MMC and sends it to WM8731 for decodingand playing.

Example is for PIC32.

[Learn More]

FM Click Example Modified for North American Tuning

0

The excellent example by mikroE of the FM Click board was implemented for European channel bands. This modified code will allow North American stations to be tuned.

[Learn More]

BASIC SERIAL INTERRRUPT IN PIC 18F

0

BASIC SERIAL INTERRRUT IN PIC 18F Video: https://youtu.be/esm31c2OS4Y

[Learn More]

Lisencia libre