TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (382 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139747 times)
  2. FAT32 Library (72168 times)
  3. Network Ethernet Library (57359 times)
  4. USB Device Library (47710 times)
  5. Network WiFi Library (43310 times)
  6. FT800 Library (42678 times)
  7. GSM click (29967 times)
  8. mikroSDK (28403 times)
  9. PID Library (26986 times)
  10. microSD click (26387 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: 258 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

How use the Matlab embedded code and mikroc

0

How use the Matlab embedded code and mikroc Video: How use the Matlab embedded code and mikroc

[Learn More]

PT2257 VOLUME CONTROL 2CH MICROC V.7.2 - 18F2550

0

This library control the PT2257 2 channel volume control, increase and decrease or set volume with one variable like : writeVolume(int dB); (dB=0 == Max Volume) The library use UART1 pins for send to pc volume and mute values so is possible not use this uart information simply not using serialPrintStateJSON() function.

[Learn More]

proteus robot simulation using mikroc line follower and obstacle evader

0

proteus robot simulation using mikroc line follower and obstacle evader videos. https://youtu.be/WQCDpuFA-0I https://youtu.be/cuJeucqpRBA

[Learn More]

Lisencia libre