资源简介
这是arduino的MP3播放模块的库文件。基本教程在网上都可以搜到。这是arduino程序需要的库文件。大家可以下载使用。用法: 解压这个东西。直接把解压出来的 master后缀的这个文件夹复制到arduino安装目录下的library目录下。大概是这个目录。大家可以找找。

代码片段和文件信息
/*******************************************************************************
* Copyright (C) 2014 DFRobot *
* *
* DFPlayer_Mini_Mp3 This library provides a quite complete function for *
* DFPlayer mini mp3 module. *
* www.github.com/dfrobot/DFPlayer_Mini_Mp3 (github as default source provider)*
* DFRobot-A great source for opensource hardware and robot. *
* *
* This file is part of the DFplayer_Mini_Mp3 library. *
* *
* DFPlayer_Mini_Mp3 is free software: you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation either version 3 of *
* the License or any later version. *
* *
* DFPlayer_Mini_Mp3 is distributed in the hope that it will be useful *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* DFPlayer_Mini_Mp3 is distributed in the hope that it will be useful *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public *
* License along with DFPlayer_Mini_Mp3. If not see *
* . *
******************************************************************************/
/*
* name: DFPlayer_Mini_Mp3
* version: 1.0
* Author: lisper
* Date: 2014-05-22
* Description: mp3 library for DFPlayer mini board
* note: mp3 file must put into mp3 folder in your tf card
*/
#include
#include
//#include “DFPlayer_Mini_Mp3.h“
extern uint8_t send_buf[10];
extern uint8_t recv_buf[10];
static void(*send_func)() = NULL;
static HardwareSerial * _hardware_serial = NULL;
static SoftwareSerial * _software_serial = NULL;
static boolean is_reply = false;
//
void mp3_set_reply (boolean state) {
is_reply = state;
send_buf[4] = is_reply;
}
//
static void fill_uint16_bigend (uint8_t *thebuf uint16_t data) {
*thebuf = (uint8_t)(data>>8);
*(thebuf+1) = (uint8
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-05-29 10:21 DFPla
文件 5791 2014-11-07 10:10 DFPla
文件 4972 2014-11-07 10:10 DFPla
目录 0 2015-05-29 10:21 DFPla
目录 0 2015-05-29 10:21 DFPla
文件 7445 2015-05-29 10:10 DFPla
目录 0 2015-05-29 10:21 DFPla
文件 3036 2015-05-29 10:20 DFPla
目录 0 2015-05-29 10:21 DFPla
文件 3498 2015-05-29 10:15 DFPla
目录 0 2015-05-29 10:21 DFPla
文件 3592 2015-05-29 10:16 DFPla
文件 1079 2014-11-07 10:10 DFPla
文件 7651 2014-11-07 10:10 DFPla
文件 271 2014-11-07 10:10 DFPla
- 上一篇:STM32F4读写SD2405实时时钟程序
- 下一篇:Windows 7 OEM证书
相关资源
- 嵌入式图形界面MiniGUI的示例程序9例
- Cellular automata Model: an Adaptive Approach
- Simulation of Active Heave Compensation System
- FEATURE SELECTION FOR KNOWLEDGE DISCOVERY AND
- lotus domino notes(包括client administrato
- 达尔优牧马人mini版鼠标
- Mini6410 Qt4和Qtopia编程开发指南
- mini2440全套裸机程序MDK 运行
- 比特大陆蚂蚁Z9mini矿机超频固件
- 鸳鸯贴纸相MINI版主程序
- 国嵌mini2440项目开发手册
- L0phtCrack.v6.0.8.0.Administrator.Edition 破解
- 正点原子Mini开发板的RC522刷卡程序触
- 友基mini550手写板驱动 v5.02 最新官方版
- ESET真正的企业版,含有两个版本的
- 国内首家采用MS全新 MiniFilter架构的
- 论文研究 - Connect-4博弈对Minimax算法洞
- 基于VIP_Board Mini的FPGA视频图像算法(
- Dell OpenManage Server Administrator 版本安装
- Mini_oneNET.zip
- 基于STM32-Mini的多路PWM
- 基于正点原子的STM32mini版代码
- 基于mini2440安全文件传输系统
- 基于嵌入式的安防视频监控
- 微信考勤小程序miniprogram-master.zip
- MiniIMU上位机软件jy901上位机最新版.
- Cloudera Administration
- 基于Hadoop的微博信息挖掘
- ALIENTEK MiniSTM32开发板例程)
- Minitab-培训教程大全-500多页
评论
共有 条评论