Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: USBDevice mbed-rtos mbed
Fork of JoyStick by
SimpleButtonDecoder Class Reference
ButtonDecoder. More...
#include <SimpleButtonDecoder.h>
Public Member Functions | |
| SimpleButtonDecoder (AnalogInFiltered *_analogIn, int value, short deBounceRuns) | |
| filter : Failter chain pin : Analog input to read | |
Detailed Description
ButtonDecoder.
I was planning to make a r2R ladder network but I couldn't find any very accurate resitors here in Ecuador (no Señor, no tengo ... sigh) so I bought some 5% resitors but they didn'0t work well enough. So this decoder sinply decoder the end value and this it means only one button at a timn can be detected reliable.
Definition at line 13 of file SimpleButtonDecoder.h.
Constructor & Destructor Documentation
| SimpleButtonDecoder | ( | AnalogInFiltered * | _analogIn, |
| int | value, | ||
| short | deBounceRuns | ||
| ) |
filter : Failter chain pin : Analog input to read
Definition at line 4 of file SimpleButtonDecoder.cpp.
Generated on Wed Jul 13 2022 20:21:10 by
1.7.2
