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.
Fork of GEO_COUNTER_L432KC by
RotarySwitch Class Reference
Includes. More...
#include <RotarySwitch.hpp>
Public Member Functions | |
| RotarySwitch () | |
| Constructor. | |
| int | GetPosition (void) |
| Get the current position of switch. | |
Detailed Description
Includes.
Code associated with rotary switch.
Definition at line 19 of file RotarySwitch.hpp.
Constructor & Destructor Documentation
| RotarySwitch | ( | ) |
Constructor.
- Parameters:
-
channelA mbed pin for channel A input. channelB mbed pin for channel B input.
Definition at line 13 of file RotarySwitch.cpp.
Member Function Documentation
| int GetPosition | ( | void | ) |
Get the current position of switch.
Definition at line 26 of file RotarySwitch.cpp.
Generated on Sun Jul 24 2022 06:22:38 by
1.7.2
