int main()
{
char da[20];
BacklightOn();
LCD_Init();
LCD_Clear_Screen(Blue);
SHT11_Write_Register(REG_WRITE,FUNCTION_SET);
Font = 0;
LCD_PutString(15,30,"temp and humi test",Cyan,Blue);
Font = 1;
LCD_PutString(38,46,"Gao Peng",Green,Blue);
Font = 0;
LCD_PutString(25,65,"temp and humi",Yellow,Blue);
for(;;){
sprintf(da, "%d %d", temp_test(),humi_test());
LCD_PutString(20,90,da,Magenta,Blue);
}
}
我想在屏幕是循环输出temp 和humi的值,但是他不循环呀,是不是引脚的定义相互排斥呀 |