遇到的问题:
avrdude: Device signature = 0x000000 (retrying)
烧录引导程序出错。
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
还是引脚连接的不对。如果使用的是Arduino UNO作为烧录器,换句话烧录器的芯片是328P,则就是用如下常见的方式连接即可
但是!如果烧录器是Arduino Mega 2560,则需要更改引脚!包括程序
#define PIN_MOSI 51 //UNO的MOSI 11
#define PIN_MISO 50 //UNO的MISO 12
#define PIN_SCK 52 //UNO的SCK 13
下图是接线图,目标板子该怎么接还是怎么接(图片来自