Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add support for ADC buttons that pulls down to 0, to class BfButtonManager #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mountain-lion-za
Copy link

Some shields e.g. the DFR0009 by DFRobot
https://wiki.dfrobot.com/LCD_KeyPad_Shield_For_Arduino_SKU__DFR0009
include buttons that pull down to 0 when pressed.
This change adds support for this type of button.

The current master code allows the upper bound (resolution) to be set, but the lower bound is hard coded as 100.

Added _adcLowerBound to class BfButtonManager, with method to set it (setADCBounds).
_adcLowerBound defaults to 100 (current hard coded value).

Some shields e.g. the DFR0009 by DFRobot
https://wiki.dfrobot.com/LCD_KeyPad_Shield_For_Arduino_SKU__DFR0009
Include buttons that pull down to 0V when pressed.
This change adds support for these buttons.
Some shields e.g. the DFR0009 by DFRobot
https://wiki.dfrobot.com/LCD_KeyPad_Shield_For_Arduino_SKU__DFR0009
Include buttons that pull down to 0V when pressed.
This change adds support for these buttons.
Some shields e.g. the DFR0009 by DFRobot
https://wiki.dfrobot.com/LCD_KeyPad_Shield_For_Arduino_SKU__DFR0009
include buttons that pull down to 0V when pressed.
This change adds support for these buttons.
Add note indicating what is modified in this fork
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant