Add LadderButtonsTiny, a demo of attaching
2 buttons to the RESET/A0 pin of the ATtiny85 micrcontroller using
a resistor ladder. This avoids wasting the RESET pin, freeing the other 5
GPIO pins for other purposes.
Update docs and examples for LadderButtonConfig and
EncodedButtonConfig to prevent the creation of the unused
SystemButtonConfig.
Uses the 4-parameter AceButton() constructor to set the
buttonConfig parameter explicitly to nullptr.
Saves 30 bytes of flash and 26 bytes of RAM on AVR (e.g. ATmega328,
ATtiny83) processors.
Split off examples/Encoded4To2Buttons from
examples/Encoded8To3Buttons to make the usage of the
Encoded4To2ButtonConfig and Encoded8To3ButtonConfig classes more
clear.
Add ButtonConfigFast1, ButtonConfigFast2, and ButtonConfigFast3.
Implementations of ButtonConfig which use the digitalWriteFast
library.
RESET/A0
pin of the ATtiny85 micrcontroller using a resistor ladder. This avoids wasting the RESET pin, freeing the other 5 GPIO pins for other purposes.LadderButtonConfig
andEncodedButtonConfig
to prevent the creation of the unused SystemButtonConfig.AceButton()
constructor to set thebuttonConfig
parameter explicitly tonullptr
.examples/Encoded4To2Buttons
fromexamples/Encoded8To3Buttons
to make the usage of theEncoded4To2ButtonConfig
andEncoded8To3ButtonConfig
classes more clear.ButtonConfigFast1
,ButtonConfigFast2
, andButtonConfigFast3
.ButtonConfig
which use thedigitalWriteFast
library.