pic16f877a定时器0的设计 #include #define uchar unsigned char #define uint unsigned int __CONFIG(0xf731); void start(); uint intnum; void main() { start(); while(1) { if(intnu
pic16f877a的定时器1的应用 #include #define uchar unsigned char #define uint unsigned int __CONFIG(0xF731); void init(); uint num=0; void main() { init(); while(1) { if(num==10)
基于16f877a的ad转换的程序 基于16f877a的ad转换的程序 #include #define uint unsigned int #define uchar unsigned char __CONFIG(0xf731); void init(void); void delay(uint x); void disp(ucha