Hardware Reference
In-Depth Information
Setting Up Firmata
Set up the Arduino board with the components connected as in the schematic in Figure
3-3
, and then upload the Standard
Firmata sketch. The sketch is located in the Arduino IDE under File
➤
Examples
➤
Firmata
➤
StandardFirmata.
Figure 3-3.
Arduino circuit for Listing 3-5
To verify that Firmata is working on the Arduino, download and run the test app from
www.firmata.org/
.
Select
the port to connect to from the drop-down menu, and the app will show all the pins, which have drop-down boxes for
pin configuration and buttons for output values, as shown in Figure
3-4
.
■
the Leonardo need the Firmata library updated. instructions and updated library available at
Note