Main Controller programming:
Download the Arduino IDE by using this link
[Link]
Open the Arduino IDE
Select Sketch -> include library -> add .ZIP library of UIPEthernet library inside the folder
Select Tools -> boards-> Arduino mega 2560
Tools -> boards-> Select Port
Tool-> Programmer-> Arduino as ISP
And uploading the sketch by choosing
Sketch -> Upload using programmer
Programmer Connection with Hardware
For main controller
There is a connector inside the clock for programming the main controller board. We just connect our
programmer pins with the main controller header wire and upload the program by using the setting above.