HelloWorld on #Arduino
This is a really beginers guide to the most simple thing that you can possibly do with an Arduino – Say Hello World.
So, first thing is, go to https://www.arduino.cc/en/Main/Software and download the Windows IDE. This installs all the drivers, and gives you a nice coding interface.
Once loaded, connect the Arduino to your PC using a USB cable. You don’t need a power cable, the USB will provide the power.
Now, edit the code to say the following
void setup() {
// put your setup code here, to run once:
Serial.begin(9600); // open the serial port at 9600 bps:
}void loop() {
// put your main code here, to run repeatedly:
Serial.print(“Hello World\n”); // prints a label
}
Now, press Verify and Upload.
Once Uploaded, then press Tools > Serial Monitor, and you should see a long line of “Hello World”‘s