1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2025-04-21 12:27:27 +03:00
Files
ben-blinkenlights/ubb-la/try.c
2013-01-31 10:02:31 -03:00

18 lines
280 B
C

#include <stdint.h>
#include <stdlib.h>
#include "gui.h"
int main(int argc, char **argv)
{
static uint8_t buf[4100];
int i;
for (i = 0; i != 8128; i++)
buf[i >> 1] |= (i & 0xf) << 4*(~i & 1);
gui_init();
gui(buf, 122, 8128, argv[1] ? atof(argv[1]) : 1e6);
return 0;
}