diff --git a/main.c b/main.c --- a/main.c +++ b/main.c @@ -29,6 +29,8 @@ uint32_t packet_sent=1; uint32_t packet_receive=1; + + static __IO uint32_t TimingDelay; // Move to header file @@ -68,8 +70,10 @@ int main(void) ssd1306_Init(); ssd1306_block_write(); - ssd1306_DrawString("Hello World!", 0, 10); + ssd1306_DrawString("therm 0.1", 0, 40); + ssd1306_DrawString("Status: Idle", 2, 40); // ssd1306_block_write(); + ssd1306_test(); uint8_t toggle = 0; while(1) @@ -93,11 +97,11 @@ int main(void) if(!sw_btn) { GPIO_ToggleBits(LED_STAT); if(!toggle) { - ssd1306_DrawString("I freaking work!", 2, 10); + ssd1306_DrawString("________________", 3, 32); toggle = ! toggle; } else { - ssd1306_block_write(); + ssd1306_DrawString("----------------", 3, 32); toggle = ! toggle; } }