Git Product home page Git Product logo

internetbutton's Introduction

Internet Button

Build Status

The Internet Button has a lot of features, but some of these aren't as straightforward to use as simple LEDs and sensors. This library abstracts 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 Internet 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!
  8. Making Music - Learn how to play notes and songs while controlling LEDs and reading buttons at the same time.
  9. Release Firmware - Big, complicated set of epic.

Watch for gauge and other display additions to this library!

internetbutton's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

internetbutton's Issues

add support for .updateLength() function

  • support the 12th LED if a user decides to solder it on
  • support an additional pixel strip soldered to the output from the last pixel (daisy chaining), essentially any number of extra LEDs.

redefinition of 'class ADXL362'

Veryfing code using this library in Particle Build fails with this error:

InternetButton/InternetButton.h:141:7: error: redefinition of 'class ADXL362'
 class ADXL362
       ^

Debug Serial for ADXL362

Need a way to control the debug messages.

I see the macro ADXL362_DEBUG but to change that requires a re-compile.

Error retrieving device id

Uncaught TypeError: Cannot read property 'id' of undefinedsendApiRequest @ controlKnob.html:55(anonymous function) @ controlKnob.html:73

pull request to be submitted to fix.

Onboard user LED is always on

When using this library, I can't find a way to shut down the tiny onboard blue LED (not the pulsing status LED, I've got that one turned off no problem) without breaking the functionality of the buttons. Am I missing something, or is it just not possible?

Conflicts with multiple Neopixel strips

If you try to use a neopixel strip on another pin the library silently takes over. You can't import the original neopixel library due to errors.

Working on a fix.

Error state

Firmware 1.4.4 whenever I use b.begin() the particle photon device goes into a green WiFi searching and then resets. It is fixed if I don't use the internet button library.

Calling InternetButton readX16() before init crashes Photon

You might say this is obvious, don't call the accel functions before init.. I think you should build in some methods to prevent crashes and notify the user etc.. Took a long time to find this issue because I was calling readX16() as part of some initialization code in a static object, constructed before setup, where init was called. Really this is my fault but I mention it here so you might help others in the future.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.