Remote Management of Arduino by ESP8266 Module
Application for Remote Arduino Management via ESP8266 Module.
From this App you can download the Esp8266.bin file and to program the module.
We add a sample of Arduino code that communicates with the Esp8266. Obviously this is a base from which to start new experiments
**************************************************************************************
String Msg = "";
void setup()
{
Serial.begin(115200);
}
void loop()
{
int c;
while ((c = Serial.read()) > '\n') Msg += (char) c;
if (c == '\n')
{
if (Msg.substring(0, 1).equals("$"))
{
Msg.remove(0, 1);
Serial.print("#");
Serial.println(Msg);
}
Msg = "";
}
}
************************************************************************