Subversion Repositories Projects

Rev

Go to most recent revision | 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();