用外部中断使得每次中断让一个LED状态(亮灭)变化一次

如题所述

第1个回答  2014-04-11
开关控制,函数是LED加减开关
第2个回答  2014-04-11
void ex1() interrupt 0//外部中断函数;
{
LED=~LED;
}
相似回答