// When compiling make sure the correct board is connected // Tools > Board > Arduino AVR Boards > ATMega2560 // Setup function that runs each time the Arduino is powered ON // or RESET is pressed void setup() { // put your setup code here, to run once: // Initialize the serial connection to send data to the computer // Specify the baud rate (9600, 115200, etc) and set this in the // Serial monitor Serial.begin(115200); } void loop() { // put your main code here, to run repeatedly: Serial.println("Hello World"); delay(1000); }