TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (91 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 (139265 times)
  2. FAT32 Library (71752 times)
  3. Network Ethernet Library (57128 times)
  4. USB Device Library (47432 times)
  5. Network WiFi Library (43092 times)
  6. FT800 Library (42408 times)
  7. GSM click (29835 times)
  8. mikroSDK (28100 times)
  9. PID Library (26886 times)
  10. microSD click (26198 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: 251 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

LED AND MOTOR CONTROL WHIT STRING DATA FRAME

0

LED AND MOTOR CONTROL WHIT STRING DATA FRAME VIDEO: https://youtu.be/qIe58XUi2ow

[Learn More]

Let's make - Voice Controlled Lights

0

This simple how-to, shows you how to make voice activated switch with help of SpeakUP click (in standalone mode) and Relay click.

[Learn More]

BAsic timer interrupt pic 18f

0

BAsic timer interrupt pic 18f Video: https://www.youtube.com/watch?v=SXcok82YgxU&amp;t=57s

[Learn More]

Lisencia libre