CHAPTER21

Esplora

This chapter discusses the following functions of the Esplora library:

  • writeRGB()
  • writeRed()
  • writeGreen()
  • writeBlue()
  • readRed()
  • readGreen()
  • readBlue()
  • writeRGB()
  • readSlider()
  • readLightSensor()
  • readTemperature()
  • readMicrophone()
  • readAccelerometer()
  • readJoystickX()
  • readJoystickY()
  • readJoystickSwitch()
  • readJoystickButton()
  • readButton()
  • noTone()
  • readTinkerkitInputA()
  • readTinkerkitInputB()
  • readTinkerkitInput()

The hardware needed to use these functions includes:

  • Arduino Esplora
  • 2 x TinkerKit 3-wire cables

You can find 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 filename 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 ...

Get Arduino Sketches: Tools and Techniques for Programming Wizardry now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.