AT89C51单片机程序问题

void int0() interrupt 1 { TH0=0xd8; TL0=0xef; musiccount++; n--;}这个程序有什么问题吗问什么总是有错误compiling 1.c...1.C(66): error C202: 'musiccount': undefined identifier1.C(67): error C202: 'n': undefined identifier1.c - 2 Error(s), 0 Warning(s).

89c51根本就不支持ISP在线下载,要用烧录工具烧进去,我自己做过两个伟纳编程器,很好用,建议你也动动手,画个图,在到外面打个板。你可以学到更多的东西!
温馨提示:答案为网友推荐,仅供参考
相似回答