void setup(){
Serial.begin(9600);
Serial.println("UART communication started");
}
void loop(){
Serial.println("Hello from Arduino via UART!");
delay(1000);
if(Serial.available()>0){
char receivedChar=Serial.read();
Serial.print("Received:");
Serial.println(receivedChar);
}
}