//write a program to toggle an LED witha rate of 1.5 sec reaptedly
// LED is connected to GPIO2
//same time display msg ""LED Toggling" on serial monitor
void setup() {
pinMode(2,OUTPUT);
Serial.begin(115200);
}
void loop() {
Serial.println("LED TOggling");
digitalWrite(2,HIGH);
delay(1500);
digitalWrite(2,LOW);
delay(1500);
}