1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-16 22:12:29 +02:00
ben-blinkenlights/ubb-la/try.c

18 lines
278 B
C

#include <stdint.h>
#include <stdlib.h>
#include "gui.h"
int main(int argc, char **argv)
{
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, argv[1] ? atof(argv[1]) : 1e6);
return 0;
}