mrburnette:
Said another way, the proprietary code runs in one time slice and the Arduino code runs in a separate time slice.
I was reading a little about the ESP8266 in the last few days and it occurred to me that it must do something like that.
The picture in my mind is that there are two CPUs - {W} running the WiFi and {A} running the Arduino code - such as the "Blink" program and {A} can communicate with {W} as needed. A bit like the Arduino and the Linux sides of a Yun.
Do you have a link where that is explained more clearly / more extensively. I did not see anything when I was searching myself.
...R