使用emulare 仿真,参考:http://emulare.sourceforge.net/,
好奇怪的现象,代码中写的是
// constants won't change. They're used here to
// set pin numbers:
const int buttonPin = 2; // the number of the pushbutton pin
const int ledPin = 13; // the number of the LED pin
但运行后的效果是PB5(PCINT5)为输出,不是13?!
没有评论:
发表评论