This commit is contained in:
Gregor Riepl 2021-04-21 23:23:27 +02:00
parent fe7106cfa1
commit c06851e824

View file

@ -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();
}
}