// This Program is an Example Arduino for ESP32,
//Hello World to serial terminal & Blink a Built-in LED.
// List of include headers file here
#include <Arduino.h>
// put function declarations here:
//int myFunction(int, int);
void HelloWorld();
void Blinked_Msg();
#define LED 19
void setup() {
// put your setup code here, to run once:
// int result = myFunction(2, 3);
pinMode(LED, OUTPUT);
Serial.begin(115200);
HelloWorld();
Blinked_Msg();
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED, HIGH);
delay(500);
digitalWrite(LED, LOW);
Blinked_Msg();
delay(500);
}
//>>---- Hear Start other void & Fucntions -----<<//
// put function definitions here:
// for Example:
/* int myFunction(int x, int y) {
return x + y;
} */
void HelloWorld(){
Serial.println("Serial Port, Initilized...");
delay(1000);
Serial.println("Get Ready ....");
delay(1000);
Serial.println("Hello world");
delay(1000);
}
void Blinked_Msg()
{
static int i = 0;
Serial.printf("\rBuilt in LED is Blinked %d time", i);
i += 1;
}