29 #elif defined ARDUINO_ESP8266_NODEMCU
40 #define read16() 256*(uint8_t)read_byte() + (uint8_t)read_byte()
41 #define from16(a, b) 256*a+b
42 #define write16(i) { write_byte((uint8_t)i/256); write_byte((uint8_t)i%256); }
45 bool input_available(void);
46 uint8_t read_byte(void);
47 void write_byte(uint8_t b
);
49 /* Analog and digital pins */
51 void write_dpin(uint8_t i
, bool b
);
52 bool read_dpin(uint8_t i
);
55 void write_apin(uint8_t i
, uint8_t a
);
56 uint8_t read_apin(uint8_t i
);
61 void led_on(uint8_t i
);
62 void led_off(uint8_t i
);
65 /* Delay and communication */
66 unsigned long getmillis(void);
67 void msdelay(unsigned long ms
);
70 void real_setup(void);
71 void debug(char *fmt
, ...);
73 void die(char *fmt
, ...);