Example app demonstrating counting button presses on an Arduino, and displaying the count on Pebble via the smartstrap port.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
arduino/smartstrap
pebble
README.md

README.md

smartstrap-button-counter

screenshot

This is a smartstrap example project that displays how many times a button attached to the connected smartstrap (here an Arduino Uno) has been pressed, with a nominal 500ms de-bounce interval between presses.

To set up the button, create the same circuit as shown in the Arduino documentation, with the sense pin connected to BUTTON_PIN (a default value of 7).