- By Paulsin
- |
- DIY Electronic Boards, Electronic Modules, Electronics, ESP-12F, ESP-12F IOT module, General Blog, Hobby Electronic kits, Integrated Circuit chips, Internet of Things (IOT)
- |
- 622 Views
- |
- 0 Comment
- |
Upload the following program to ESP-12F IOT module. Before starting this, read my previous blog on the basics of programming ESP-12F IOT module.
#include <ESP8266WiFi.h#include <WiFiClient.h#ifndef APSSID #define APSSID "PaulESP" #define APPSK "paulsin91@" #endif // Variable to store the HTTP request String header; /* Set these to your desired credentials. */ const char *ssid = APSSID; const char *password = APPSK; int ledPin = 13; // GPIO13 WiFiServer server(80);