Changeset - 297213e62b1d
[Not reviewed]
default
0 1 0
Ethan Zonca - 11 years ago 2014-08-23 22:21:24
ez@ethanzonca.com
Somehow temp is working
1 file changed with 1 insertions and 1 deletions:
main.c
1
1
0 comments (0 inline, 0 general)
main.c
Show inline comments
 
@@ -164,13 +164,13 @@ void process()
 
        ssd1306_DrawString("Fatal Error", 3, 35);
 
    }
 
    else if(temp_pre & 0b0000000000000001) {
 
        ssd1306_DrawString("TC Fault", 3, 35);
 
    }
 
    else {
 
        ssd1306_DrawString("OK         ", 3, 35);
 
        ssd1306_DrawString("TempSense OK", 3, 35);
 
    }
 
 
    uint8_t sign = temp >> 15;// top bit is sign
 
 
 
    temp_pre = temp_pre >> 2; // Drop 2 lowest bits
0 comments (0 inline, 0 general)