User manual

// set the data rate for the SoftwareSerial port
esp8266.begin(19200);
if (!espConfig()) serialDebug();
else debug("Config OK");
if (sendCom("AT+PING=\"www.google.de\"", "OK"))
{
Serial.println("Ping OK");
digitalWrite(13, HIGH);
}
else
{
Serial.println("Ping Error");
}
}
void loop() // run over and over
{
//Start serial Debug Mode - Type commands over serial Monitor
serialDebug();
}
The most important functions that you will find in nearly every program have now
been covered. These functions will now be used in the known Arduino functions
setup() and loop(). First, however, the two serial interfaces with 19200 Baud will be
initialised. Only then will the function espConfig() be called. In case of error, the
serialDebug()-function will be started at once. If everything went well, a success
message is sent. In later programs, the LED at Pin 13 that is marked with D3 on