TwoKeys
 
Component TwoKeys
Component generated by Component Creator
Component Level: High
Methods:
(Methods are user-callable functions/subroutines intended for the component functions control. Please see the Embedded Components page for more information.)
  • Enable - This method enables the component

      ANSIC prototype: void Enable(void)

  • Disable - This method disables the component

      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.