这段代码为什么要红色一段代码和不要那段代码,效果一样啊?哪位高手能指点一下?
#include"msp430x14x.h"#defineucharunsignedchar#defineuintunsignedintucharnum[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};ucharwei[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};ucharn=0,i=0;voidmain(void ...
两位595驱动8位共阴极数码管的程序问题
原理图[attach]863711[/attach]代码:#include<reg52.h>#include<intrins.h>#defineucharunsignedcharucharcodeTable[]={//0 1 2 3 4 5 6 7 8 9 A b Cd EF- 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71,0x86,0 ...