/SparkButton

Library for the Spark Button Shield

Primary LanguageC++OtherNOASSERTION

The Spark Button has a lot of features, but some of these aren't as straightforward to use as simple LEDs and sensors. NOTE that this library has been superseded by InternetButton!

Examples

  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!