RhinoBabies / arduino-drum-kit

Arduino-powered drum kit made with piezosensors to detect drumpad hits. Badum-CH!
0 stars 0 forks source link

7 Segment LED toggling with push button #1

Open RhinoBabies opened 6 years ago

RhinoBabies commented 6 years ago

Allow push button to have the 7-seg cycle through the index of the pad that is currently having its debounce amount configured. If there are 3 pads, only 0, 1, and 2 should be visible when cycling through the indices.

RhinoBabies commented 6 years ago

Setting the debounce for each pad individually is difficult since pressing the button again will immediately assign the previous debounce value to the next pad. Fix: Reading the pot's value upon entering the next pad's settings, then taking the pot's difference from its initial value (with a small dead zone). Adding a nil pad (visibly marked with a hypen -) where the pot could be adjusted without changing any other pad settings.