Subversion Repositories Projects

Rev

Rev 310 | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*
 * lprg.h
 * little LED lighting program interpreter
 * (c) 2009 pangu
 */


#define LEDCOUNT 10

typedef struct _lprg {
  char wait[LEDCOUNT];
  char cur[LEDCOUNT];
  char *code[LEDCOUNT];
} lprg;


extern void lprg_init(char *code[]);
extern void lprg_step(void);