void setup() {
// put your setup code here, to run once:
Serial.begin(9600); // initialized the serial monitor
}
// New Function declaration
void myGreeting (String YourName) {
Serial.println("HI! "+ YourName); // function body
}
void loop() {
// calling the new function with "indika" as input
myGreeting("indika");
delay(3000); // Delay the loop execution by 3 minutes
}