attiny45_85.zip解压出来之后出现__MACOSX、attiny45_85
这两个文件夹,我按说明放attiny45_85
得出的文件D:\arduino\hardware\attiny45_85.
写入ARDUINO ISP文件到arduino UNO板子上成功。与attiny13接线好之后在板卡处选择attiny84(w/ARDUINO AS ISP)。按教程下一步是修改BLINK程序,13改为0.
结果出现:Blink.ino:10:21: error: Arduino.h: No such file or directory
Blink.ino: In function 'void setup()':
Blink:15: error: 'OUTPUT' was not declared in this scope
Blink:15: error: 'pinMode' was not declared in this scope
Blink.ino: In function 'void loop()':
Blink:20: error: 'HIGH' was not declared in this scope
Blink:20: error: 'digitalWrite' was not declared in this scope
Blink:21: error: 'delay' was not declared in this scope
Blink:22: error: 'LOW' was not declared in this scope
请楼主和大家帮帮忙,我应该这么做,最好个图。谢谢!!!