15 #define STACKSIZE 1024
24 bool input_available(void);
25 uint8_t read_byte(void);
26 void write_byte(uint8_t b
);
28 /* Analog and digital pins */
30 void write_dpin(uint8_t i
, bool b
);
31 bool read_dpin(uint8_t i
);
34 void write_apin(uint8_t i
, uint8_t a
);
35 uint8_t read_apin(uint8_t i
);
40 void led_on(uint8_t i
);
41 void led_off(uint8_t i
);
51 /* Delay and communication */
52 unsigned long getmillis(void);
53 void msdelay(unsigned long ms
);
56 void real_setup(void);
57 void real_debug(char *fmt
, ...);
59 void die(char *fmt
, ...);