Professional Documents
Culture Documents
NIM : 1815344053
KELAS : 6A Teknik Otomasi
#include "PageIndex.h" //--> Include the contents of the User Interface Web page, stored in
the same folder as the .ino file
#define ON_Board_LED 2 //--> Defining an On Board LED, used for indicators when the
process of connecting to a wifi router
#define LIGHT 5 //--> Defining LIGHT Port
server.on("/", handleRoot); //--> Routine to handle at root location. This is to display web
page.
server.on("/setLIGHT", handleLIGHT); //--> Routine to handle the call procedure
handleLIGHT