-
Enable
- This method enables the bean
ANSIC prototype: void Enable(void)
-
Disable
- This method disables the bean
ANSIC prototype: void Disable(void)
-
GetVal
- Get the state of the buttons
ANSIC prototype: void GetVal(bool *But1,bool *But2)
- But1: Pointer to bool - State of the Button 1 - TRUE = pressed
- But2: Pointer to bool - State of the button 2 - TRUE = pressed
Note: Some methods can be implemented as macros.