Library for the Spark Button Shield
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead, 1 commit behind jenesaisdiq:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

The Spark Button has a lot of features, but some of these aren't as straightforward to use as simple LEDs and sensors. This library wraps up a lot of the complexity and provides simple functions with broad capability. It wraps modified versions of both Adafruit's Neopixel and AnneM's ADXL362 Arduino libraries, as well as some novel functions.


  1. Blink an LED - How to control the smart LEDs on this board
  2. Blink all the LEDs - An extension on the simplest case
  3. LEDs and Buttons - How to read the buttons on the Button, and make LEDs blink with them
  4. Good Combination - A set of button and LED conditionals that I happen to like and use frequently
  5. Motion - The Spark Button also has an accelerometer on it to measure motion- this shows how the related functions work
  6. Orientation - How to use the accelerometer functions to determine the orientation
  7. Internet - Send that data out to the world!

Watch for gauge and other display additions to this library!