19 bool input_available(void);
20 uint8_t read_byte(void);
21 void write_byte(uint8_t b
);
23 /* Analog and digital pins */
25 void write_dpin(uint8_t i
, bool b
);
26 bool read_dpin(uint8_t i
);
29 void write_apin(uint8_t i
, uint8_t a
);
30 uint8_t read_apin(uint8_t i
);
35 void led_on(uint8_t i
);
36 void led_off(uint8_t i
);
39 /* Delay and communication */
40 unsigned long getmillis(void);
41 void msdelay(unsigned long ms
);
44 void real_setup(void);
45 void debug(char *fmt
, ...);
47 void die(char *fmt
, ...);