From 533b6c184b416ef932c7ef7627929478341d7ae9 Mon Sep 17 00:00:00 2001 From: Duality <201292@live.nl> Date: Sat, 6 Jun 2015 18:28:53 +0200 Subject: [PATCH] added NOT_ON_TIMER and digitalPinToTimer defines to make a liquidcrystal library workd (that uses i2c) --- cores/esp8266/Arduino.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cores/esp8266/Arduino.h b/cores/esp8266/Arduino.h index 138aea96b..89bf32685 100644 --- a/cores/esp8266/Arduino.h +++ b/cores/esp8266/Arduino.h @@ -209,6 +209,7 @@ void loop(void); // This comes from the pins_*.c file for the active board configuration. #define digitalPinToPort(pin) (0) #define digitalPinToBitMask(pin) (1UL << (pin)) +#define digitalPinToTimer(pin) (0) #define portOutputRegister(port) ((volatile uint32_t*) GPO) #define portInputRegister(port) ((volatile uint32_t*) GPI) #define portModeRegister(port) ((volatile uint32_t*) GPE) @@ -216,6 +217,7 @@ void loop(void); #define NOT_A_PIN -1 #define NOT_A_PORT -1 #define NOT_AN_INTERRUPT -1 +#define NOT_ON_TIMER 0 #ifdef __cplusplus } // extern "C"