在函数声明时: void display(unsigned int pv,unsigned int sv, unsigned char led1,unsigned char led2, unsigned char led3 ); 本人觉的很难看,有更好的主意吗?
在函数定义时倒好办 1:新写法 void display(unsigned int pv,unsigned int sv, unsigned char led1,unsigned char led2, unsigned char led3 ) {... ... } 2:老写法 void display(pv,sv,led1,led2,led3) unsigned int pv,sv; unsinged char led1,led2,led3; {... ... } |