标签:
1 void LCD_write_english_string(unsigned char X,unsigned char Y,char *s) 2 { 3 LCD_set_XY(X,Y); 4 while (*s) 5 { 6 LCD_write_char(*s); 7 s++; 8 } 9 }
1 num[0] = bai; 2 num[1] = shi; 3 num[2] = ge; 4 num[3] = 0; 5 LCD_write_english_string(0,0,"THE ANGLE:"); 6 LCD_write_english_string(1,1,num);
1 void LCD_write_string(unsigned char X,unsigned char Y,char *s,char length) 2 { 3 char i=0; 4 LCD_set_XY(X,Y); 5 while (i<length) 6 { 7 LCD_write_char(*(s++)); 8 i++; 9 } 10 }
标签:
原文地址:http://www.cnblogs.com/04121x/p/5142000.html