I have been trying for several weeks now to ,without much success, I might add , to send data from a water tank level controller built on a NANO to an ESP 8266 web server so I can look at this data from anywhere that has network access.
I wish to share this data thru the I2C interface by using Nick Gammon’s I2C_Anything program.
Now I had it working several years ago but when I tried to use my old program it would not compile giving me an error about “Wire.onReceive (receiveEvent)” not “‘receiveEvent’ was not declared in this scope”.
I would love to have an SD card working with this but 1 step at a time I guess .
I can share the code for both the controller module and the code I have so far for the web server.
perhaps someone will be able to see what I have either left out or added incorrectly
many thanks for your help
attached are the ino files
ESP8266_WebServer_I2C_Anything.ino (5.33 KB)