Doly C++ SDK v1.00
Loading...
Searching...
No Matches
IoControl.h
Go to the documentation of this file.
1#pragma once
2#include "GpioPin.h"
3
18
19namespace IoControl
20{
33 int8_t writePin(uint16_t id, uint8_t io_pin, GpioState state);
34
44 GpioState readPin(uint16_t id, uint8_t io_pin);
45
53 float getVersion();
54};
55 // end of group doly_iocontrol
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.