【求助 ,问题集中〒_〒】DFPlayminimp3一堆的问
arduino吧
全部回复
仅看楼主
level 8
【求助#(null) ,问题集中〒_〒】DFPlayminimp3一堆的问题,自己也是第一次接触arduino,哪位前辈有空过来帮我看看吧
2018年11月19日 10点11分 1
level 8
出现的问题,楼下自己的源码
Arduino:1.8.7 (Windows 10), 开发板:"Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)"
项目使用了 1814 字节,占用了 (5%) 程序存储空间。最大为 30720 字节。
全局变量使用了200字节,(9%)的动态内存,余留1848字节局部变量。最大为2048字节。
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xd4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xd4
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
上传出错。查看http://www.arduino.cc/en/Guide/Troubleshooting#upload 获取建议。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
2018年11月19日 10点11分 2
level 8
#include <DFPlayer_Mini_Mp3.h>
#include <SoftwareSerial.h>
void setup() {
Serial.begin(9600);
mp3_set_serial(Serial);
mp3_set_volume(10);
}
void loop() {
mp3_play (1);
delay(30000);
mp3_stop ();
}
2018年11月19日 10点11分 3
好吧,问题解决,串口转换接错线了,都不知道之前的烧录是怎么成功的[惊讶]
2018年11月19日 11点11分
level 8
为什么只有中间那个库能用,不应该吧?[咦]
2018年11月19日 11点11分 4
level 8
烧写过程中要是板子内有运行似乎会导致上传失败,串口无法使用的报错
2018年11月19日 11点11分 5
1