11 #define STACKSIZE 1024
21 bool input_available(void);
22 uint8_t read_byte(void);
23 void write_byte(uint8_t b
);
25 /* Analog and digital pins */
27 void write_dpin(uint8_t i
, bool b
);
28 bool read_dpin(uint8_t i
);
31 void write_apin(uint8_t i
, uint8_t a
);
32 uint8_t read_apin(uint8_t i
);
37 void led_on(uint8_t i
);
38 void led_off(uint8_t i
);
41 /* Delay and communication */
42 unsigned long getmillis(void);
43 void msdelay(unsigned long ms
);
46 void real_setup(void);
47 void debug(char *fmt
, ...);
49 void die(char *fmt
, ...);