Skip to content

Latest commit

 

History

History
17 lines (17 loc) · 597 Bytes

File metadata and controls

17 lines (17 loc) · 597 Bytes

Gpio Commands

  1. GPIO GET_PIN_STATE [PORT][PIN]
    • Example: GPIO GET_PIN_STATE A12
  2. GPIO GET_ALL_STATES
    • Example: GPIO GET_ALL_STATES
  3. GPIO GET_PIN_MODE [PORT][PIN]
    • Example: GPIO GET_PIN_MODE A12
  4. GPIO GET_ALL_MODES
    • Example: GPIO GET_ALL_MODES
  5. GPIO GET_PIN_ALT_FUNCTION [PORT][PIN]
    • Example: GPIO GET_PIN_ALT_FUNCTION A12
  6. GPIO GET_ALL_ALT_FUNCTIONS
    • Example: GPIO GET_ALL_ALT_FUNCTIONS
  7. GPIO SET_PIN_STATE [PORT][PIN] [STATE]
    • Example: GPIO SET_PIN_STATE A12 HIGH
  8. GPIO SET_ALL_STATES [STATE]
    • Example: GPIO SET_ALL_STATES HIGH