particle-iot/SparkButton

Name: SparkButton

Owner: Particle

Description: Library for the Spark Button Shield

Created: 2015-06-24 15:58:02.0

Updated: 2016-12-07 17:56:13.0

Pushed: 2018-01-03 18:45:29.0

Homepage: null

Size: 35

Language: C++

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.

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!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.