Open jazzgil opened 5 years ago
Adding the ESP8266 core support would require implementing the Board.h and GPIO.h files (in the Arduino-GPIO library). These are very straight forward as the ESP8266 core is nicely written and functions may be more or less copied from the core to build the GPIO class. After this, given that delayMicroseconds() is available, the other classes TWI, SPI, OWI, etc, will be up-and-running.
Thanks @mikaelpatel. I'll take a stab at it and update if I run into road blocks.
Hi @jazzgil. Have you managed to implement ESP8266 support? If yes, may I ask you share the code? Thank you in advance.
Hi,
I'd like to use the library to control several ATTiny44's from an ESP8266, and of course I'm getting the "WARNING: library Arduino-OWI-master claims to run on (avr, sam) architecture(s) and may be incompatible with your current board which runs on (esp8266) architecture(s)."
I'm trying to explore extent of changes I will need to make - does it sum up to adding a BOARD definition in Arduino-GPIO? Additional changes in Arduino-TWI? Or is it far more complex?
I'd be thankful if you could point me in the right direction...
Thanks!