Arduino IDE can be used to program a large number of micro-controller like Arduino Uno, Arduino nano, ESP 8266 Module, Arduino Mega etc.
You can download the software from https://www.arduino.cc/en/software and install it.
Launch Arduino IDE, write the code as below
Once you are done writing the sketch in Arduino IDE, We can verify the code for it’s correctness and upload it to the Arduino as specified below.
