mirror of
https://github.com/eddyem/STM8_samples.git
synced 2026-03-21 01:00:57 +03:00
I2C (not working yet)
This commit is contained in:
@@ -195,8 +195,12 @@ int main() {
|
||||
set_display_buf("eab");
|
||||
}else{
|
||||
temp_ready = 0;
|
||||
display_int((int)temp_readed,0);
|
||||
display_DP_at_pos(1);
|
||||
if(temp_readed > -100 && temp_readed < 1000){
|
||||
display_int((int)temp_readed, 0);
|
||||
display_DP_at_pos(1);
|
||||
}else{ // display only integer part
|
||||
display_int((int)temp_readed/10, 0);
|
||||
}
|
||||
}
|
||||
if(matchROM) ++starting_val;
|
||||
}else{ // show number
|
||||
|
||||
Reference in New Issue
Block a user