mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2025-04-21 12:27:27 +03:00
ubb-la/try.c: run the GUI with fake data
This commit is contained in:
16
ubb-la/try.c
Normal file
16
ubb-la/try.c
Normal file
@@ -0,0 +1,16 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user