Hardware Reference
In-Depth Information
The Arduino IDE and LED code
To create the LED code, start the Arduino IDE. Then, recall the code you wrote in Chapter
1 , Powering on Arduino . The IDE should look like the following screenshot:
In this code, setting led 13 lit the orange LED on the board. It turns out that the led output
pin 13 is also the connection to pin 13 on the connector of the Arduino Uno. If you upload
and run this program, the LED connected to pin 13 should flash at the same rate as the
LED on the Arduino Uno, as shown in the following image:
Search WWH ::




Custom Search