CCCPaste

Arduino 1 - Sender

void setup() {
  Serial.begin(9600); // Initialize UART communication at 9600 baud
}

void loop() {
  Serial.println("Hello, Arduino 2!"); // Send a message
  delay(1000); // Wait for 1 second before sending the next message
}