Changeset - 05e06a6f3c9d
[Not reviewed]
default
0 1 0
Ethan Zonca - 10 years ago 2014-10-18 17:42:55
ez@ethanzonca.com
Erase numbers between updates
1 file changed with 1 insertions and 0 deletions:
main.c
1
0 comments (0 inline, 0 general)
main.c
Show inline comments
 
@@ -275,24 +275,25 @@ void process()
 
    
 
    // Kill SSR after elapsed period less than SSR_PERIOD 
 
    if(ticks - last_ssr_on > ssr_output || ssr_output == 0)
 
    {
 
        GPIO_ResetBits(LED_STAT);
 
        GPIO_ResetBits(SSR_PIN);
 
    }
 
}
 
 
void draw_setpoint() {
 
    char tempstr[3];
 
    itoa_fp(temp, temp_frac, tempstr);
 
    ssd1306_DrawStringBig("      ", 3, 0);
 
    ssd1306_DrawStringBig(tempstr, 3, 0);
 
    ssd1306_DrawStringBig(">", 3, 74);
 
    itoa(setpoint, tempstr);
 
    ssd1306_DrawStringBig("    ", 3, 90);
 
    ssd1306_DrawStringBig(tempstr, 3, 90);
 
}
 
 
uint8_t goto_mode = 2;
 
 
// State machine
 
uint8_t sw_btn_last = 0;
 
uint8_t sw_up_last = 0;
0 comments (0 inline, 0 general)