-->
Page 2 of 8

Re: i2c slave support

PostPosted: Fri Feb 03, 2017 5:29 pm
by bjoham
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".

Re: i2c slave support

PostPosted: Fri Feb 03, 2017 5:56 pm
by bjoham
@judge: There are some subtleties regarding the bus handling that needs to be fixed in the Adafruit library. See https://github.com/bjoham/Adafruit_Arduino_Boards

Re: i2c slave support

PostPosted: Mon Feb 13, 2017 1:58 am
by bjoham
It has been running like a charm for a couple of days now. Reading data through I2C and publishing through MQTT.

Re: i2c slave support

PostPosted: Wed Feb 15, 2017 6:29 am
by Barfoos
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.