WIFIO and Virtual I/O chat
Posted: Thu Aug 27, 2015 3:16 pm
Chat here about Virtual I/O and how it works and makes your Arduino code nice and slick!
There is an Arduino sketch that runs on the ATMEGA328P part that communicates to the ESP8266 over I2C as a slave. The ESP8266 can use it as an I/O expander... you can also develop your own code to run on the part and even off load processing for what ever you wanted, and tie it all back into the Virual I/O system, so your ESP8266 code remains simple.
That said you could also run all your main code in the ATMEGA and use the ESP98266 as a slave! Maybe using it in AT+ command mode.... its up to you!
Richard.
There is an Arduino sketch that runs on the ATMEGA328P part that communicates to the ESP8266 over I2C as a slave. The ESP8266 can use it as an I/O expander... you can also develop your own code to run on the part and even off load processing for what ever you wanted, and tie it all back into the Virual I/O system, so your ESP8266 code remains simple.
That said you could also run all your main code in the ATMEGA and use the ESP98266 as a slave! Maybe using it in AT+ command mode.... its up to you!
Richard.