Rev 310 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
310 | pangu | 1 | /* |
2 | * lprg.h |
||
3 | * little LED lighting program interpreter |
||
4 | * (c) 2009 pangu |
||
5 | */ |
||
6 | |||
7 | #define LEDCOUNT 10 |
||
8 | |||
9 | typedef struct _lprg { |
||
10 | char wait[LEDCOUNT]; |
||
11 | char cur[LEDCOUNT]; |
||
12 | char *code[LEDCOUNT]; |
||
13 | } lprg; |
||
14 | |||
15 | |||
16 | extern void lprg_init(char *code[]); |
||
341 | pangu | 17 | extern void lprg_step(void); |
310 | pangu | 18 | |
19 |