A bunch of example apps built by the Pebble team to demonstrate how to use the new APIs and features of Pebble. These apps are not meant to be used as-is, but rather as a starting point for your own apps.
- rgb-backlight-thing — Demonstrates the RGB backlight API (
light_set_color) on Pebble Time 2. UP/SELECT/DOWN set the backlight to red/green/blue. - touch-thing — Demonstrates the touch service API on Pebble Time 2 and Pebble Round 2. Subscribes to
touch_serviceand visualizes touchdown, liftoff, and position-update events with live counters and a crosshair at the touch point. - speaker/note-player-thing — Plays four melodies (Ode to Joy, Twinkle Twinkle, Super Mario, Für Elise) using
speaker_play_notes, each with a different waveform (sine, square, triangle, sawtooth). UP/DOWN cycle melodies, SELECT plays. - speaker/note-sample-thing — Plays a C major scale using a PCM sample resource pitched up/down via
speaker_play_trackswith aSpeakerSample. - speaker/pcm-resource-thing — Streams a raw PCM audio resource through
speaker_stream_open/speaker_stream_write, refilling the ring buffer from anAppTimerand showing playback progress. - speaker/polyphonic-thing — Plays a 3-voice arrangement of Ode to Joy (soprano sawtooth, alto sine, bass triangle) using
speaker_play_trackswith multiple concurrent tracks.
speaker/pcm-resource-thing uses Digital Lemonade by Kevin MacLeod (incompetech.com), licensed under Creative Commons: By Attribution 4.0.