Install the arduino IDE (Integrated development environment).
An IDE is essentially an application that you write and compile and deploy code in. Arduino has its own which you will need to download from here:
(There is a browser based coding enviroment as well, but that is not recommended for this class)
Arduino connected via usb
Double check that the correct port (a usb port) is connected to the board. On Apple systems, it will look like dev/usbmodem###/
and on Windows it will be COM1
or similar.
Make sure the port is selected in the Tools->Port
menu
Open the example sketch called blink.
Press the upload button.
After a second or two, you should one of the little yellow LED lights blinking on and off every second.
The little blinking LED.
With the blink sketch, you can adjust the speed of the blinking by altering the delay
values:
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}