title: Control Arduino Pins via ESP8266 Webserver
body: <p>I want to program a simple Webserver with an ESP8266 but I want to connect the ESP8266 to an Arduino Mega. I want to connect a LED and a Sensor to the Arduino and control the LED and read the sensor data via the ESP8266 Webserver.
  I am a beginner and dont want too complex solutions. It's just a simple school project.
  For the Webpage I am sending just some HTML Code, I do not use Blynk or anything like that.</p>
  <p>My question is how can I connect the ESP8266 to the Arduino and control it's pins?</p>