FreeCalypso > hg > freecalypso-ui-dev
comparison lcdpoll/main.c @ 5:45c81216d964
fc-lcdpoll: works after minor fix
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 14 Mar 2018 23:48:21 +0000 |
parents | 06e900c54ae3 |
children |
comparison
equal
deleted
inserted
replaced
4:839a63f0efda | 5:45c81216d964 |
---|---|
24 unsigned pos; | 24 unsigned pos; |
25 | 25 |
26 printf("%u %u ", row, col); | 26 printf("%u %u ", row, col); |
27 for (pos = 0; pos < 176; pos += 2) | 27 for (pos = 0; pos < 176; pos += 2) |
28 printf("%02X%02X", buf[pos+1] ^ 0xFF, buf[pos] ^ 0xFF); | 28 printf("%02X%02X", buf[pos+1] ^ 0xFF, buf[pos] ^ 0xFF); |
29 putchar('\n'); | |
29 } | 30 } |
30 | 31 |
31 fb_poll() | 32 fb_poll() |
32 { | 33 { |
33 unsigned row; | 34 unsigned row; |