Common GPIO types used across the Doly SDK.
GpioState
Represents the digital logic level of a GPIO pin.
Definition GpioPin.h:47
Definition IoControl.h:20
int8_t writePin(uint16_t id, uint8_t io_pin, GpioState state)
Write a GPIO state to an IO port pin.
float getVersion()
Get current library version.
GpioState readPin(uint16_t id, uint8_t io_pin)
Read the current GPIO state of an IO port pin.