I2C (not working yet)

This commit is contained in:
2015-05-19 12:42:29 +03:00
parent 077c50a247
commit 132ebb5787
22 changed files with 14217 additions and 11988 deletions

View File

@@ -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