Hardware Reference
In-Depth Information
readJoystickButton()
readButton()
noTone()
readTinkerkitInputA()
readTinkerkitInputB()
readTinkerkitInput()
The hardware needed to use these functions includes:
Arduino Esplora
2 x TinkerKit 3-wire cables
You can i nd the code download for this chapter at http://www.wiley.com/
go/arduinosketches on the Download Code tab. The code is in the Chapter 21
folder and the i lename is Chapter21.ino .
Introducing Esplora
Almost all Arduino devices are physical boards that are placed on a desk or
inside an enclosure. To add electronics, you must either use a shield or a bread-
board. The Arduino Esplora is a different beast.
Arduino is all about getting hands-on, and the Esplora goes a step further.
It is a device that ends up in your hands, not on the desk. Get ready to pick it
up and play with it.
The Esplora is an excellent device for users who do not want to get too involved
in electronics because it integrates an amazing amount of peripherals. Although
most Arduinos only have an on-board LED on pin 13, the Esplora has an LED
on pin 13, an RGB LED, a light sensor, a temperature sensor and much, much
more. Here is the entire list:
Temperature sensor
Light sensor
Microphone
Two-axis analog joystick (with center-push button)
Four push buttons
Three-axis accelerometer
RGB LED
Piezo buzzer
 
Search WWH ::




Custom Search