detect os and lsb release

This commit is contained in:
2024-01-14 23:11:38 +08:00
parent edc636b5be
commit e33119b119
2 changed files with 18 additions and 24 deletions

View File

@@ -53,14 +53,14 @@ void main(void)
smg_display(temp_buf,4);
// 串口打印
if(pre_temp_value != temp_value){
pre_temp_value = temp_value;
printf("temp = %.1f\n", temp_value/10.0);
}
// if(pre_temp_value != temp_value){
// pre_temp_value = temp_value;
// printf("temp = %.1f\n", temp_value/10.0);
// }
// delay
// delay_ms(10);
// printf("temp = %.1f\n", temp_value/10.0);
delay_ms(1000);
printf("temp = %.1f\r\n", temp_value/10.0);
}
}