这是程序[mw_shl_code=applescript,true]while(1)
{
t++;
delay_ms(200);
LED0=!LED0;
adcx=T_Get_Adc_Average(ADC_CH_TEMP,10);
LCD_ShowxNum(132,280,adcx,4,16,0);
res=f_open (&fil,"0:/message.txt", FA_OPEN_ALWAYS|FA_WRITE);
f_write (&fil, &adcx, 14, &bww);
f_close(&fil);
res=f_open (&fil,"0:/message.txt", FA_READ);
f_read (&fil, buf,100,&bww);
f_close(&fil);
LCD_ShowString(60,210,230,24,24,(u8 *)buf);
} [/mw_shl_code]
这是结果
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>