Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By bjoham
#61991 With a bit of luck, there should now be a branch tree with the code changes at https://github.com/bjoham/esp8266_Ardui ... /i2c_slave.

Feel free to look it over and comment on it.

NOTE! Only the first commit has been tested on the ESP8266 hardware! The other cleanup commits have been done "on the fly".
User avatar
By bjoham
#62484 It has been running like a charm for a couple of days now. Reading data through I2C and publishing through MQTT.
User avatar
By Barfoos
#62592
bjoham wrote:@Ian: I'll do some cleanup and publish a fork aiming for a pull request.


That would be really great. I am currently trying to expand my AVR-based Nixie-clock, which uses an I2C RTC, to support NTP. Using the ESP as an I2C master might work, but using it as a slave should be a lot cleaner.

/edit: please ignore this post. I'm new to this board and didn't notice there was a second page.
Last edited by Barfoos on Thu Feb 16, 2017 12:48 pm, edited 1 time in total.