diff --git a/display/firmware/main.c b/display/firmware/main.c index 9b7ef12..b35e891 100644 --- a/display/firmware/main.c +++ b/display/firmware/main.c @@ -170,9 +170,19 @@ static void loop() { } } +static void test() { + // clear + display_write(0x01, 0, 0); + // display on, no cursor + display_write(0x0c, 0, 0); + display_write(0x80, (const uint8_t *) "Hello, world", 12); + _delay_ms(1000); +} + int main() { init(); while (1) { - loop(); + //loop(); + test(); } }