Treehopper C++ API
|
digital input pin abstract class. More...
#include <DigitalIn.h>
Public Member Functions | |
DigitalIn () | |
virtual void | makeDigitalInput ()=0 |
Make the pin a digital input. More... | |
virtual bool | digitalValue () |
Get the digital value. More... | |
Public Attributes | |
Event< DigitalIn, PinChangedEventArgs > | digitalValueChanged |
Fires whenever the digital input changes. More... | |
This abstract class provides digital input support used by Pin, and can also be extended by GPIO expanders and other peripherals that provide DigitalIn -like functionality.
|
inline |
|
inlinevirtual |
Reimplemented in Pin.
|
pure virtual |
Implemented in Pin.
Event<DigitalIn, PinChangedEventArgs> digitalValueChanged |