particle-iot / internetbutton Goto Github PK
View Code? Open in Web Editor NEWLibrary for the Internet Button shield
License: GNU Lesser General Public License v3.0
Library for the Internet Button shield
License: GNU Lesser General Public License v3.0
The "int" designation on the silk screen isn't described in any documentation. This library is using it either, so I am wondering if any of the interrupts from the ADXL362 are hooked up to this pin or not. Can we do Free Fall detection?
Veryfing code using this library in Particle Build fails with this error:
InternetButton/InternetButton.cpp:235:42: error: cannot convert 'String' to 'const char*' for argument '1' to 'int atoi(const char*)'
octave = atoi(note.substring(1,2))
Looks like a syntax error... "did anyone bother to test this"?
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.
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.
Uncaught TypeError: Cannot read property 'id' of undefinedsendApiRequest @ controlKnob.html:55(anonymous function) @ controlKnob.html:73
pull request to be submitted to fix.
Need a way to control the debug messages.
I see the macro ADXL362_DEBUG but to change that requires a re-compile.
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?
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.
Veryfing code using this library in Particle Build fails with this error:
InternetButton/InternetButton.h:141:7: error: redefinition of 'class ADXL362'
class ADXL362
^
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.