Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By danbicks
#42635
maxmaxy21 wrote:Help Needed!!
i have a project of arduino uno and esp-12
arduino is reading some sensors data and sen it serially to esp
i need the code of esp to read the serial data ^^


Why don't you consider turning the Uno in to an I2C slave device, the ESP could then simply use the wire library to access the uno and request data respectively. Their are lots of tutorials on Uno as an I2C slave.

Dans
User avatar
By maxmaxy21
#42644
danbicks wrote:
maxmaxy21 wrote:Help Needed!!
i have a project of arduino uno and esp-12
arduino is reading some sensors data and sen it serially to esp
i need the code of esp to read the serial data ^^


Why don't you consider turning the Uno in to an I2C slave device, the ESP could then simply use the wire library to access the uno and request data respectively. Their are lots of tutorials on Uno as an I2C slave.

Dans

i will do that , thanks alot