Program Button
It seems that out of the box, the BlinkyTape's button by the USB port is coded to filter through different brightness settings until a new program is loaded. Is this button programmable per program? I couldn't seem to find any examples in the included source codes.
Thanks in advance.
Thanks in advance.
Comments
Yes you can definitely program the button by the arduino method. You can find the code for the brightness changing in the factory firmware sketch, here: https://github.com/Blinkinlabs/BlinkyTape/blob/master/ProductionSketch/ProductionSketch.ino
Here's an example that uses an interrupt and some debounce code to watch the button: https://gist.github.com/Threeethan/8772775
Last, make sure you've read through the docs for programming BlinkyTape with Arduino: http://blinkinlabs.com/blinkytape/docs/arduino/
Actually, it's probably something we should add to the serial communication protocol...