mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-17 05:49:21 +02:00
17 lines
210 B
C
17 lines
210 B
C
|
#include <stdint.h>
|
||
|
|
||
|
#include "gui.h"
|
||
|
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
static uint8_t buf[4000];
|
||
|
int i;
|
||
|
|
||
|
for (i = 0; i != 8000; i++)
|
||
|
buf[i >> 1] |= (i & 0xf) << 4*(~i & 1);
|
||
|
gui_init();
|
||
|
gui(buf, 0, 8000);
|
||
|
return 0;
|
||
|
}
|