GPIO (std::gpio)
General purpose input/output helpers.
Usage
The std::gpio library is available automatically. No import is required.
std::gpio.writePin(1);Functions
std::gpio.readPin(): float
Description: Read the current pin value.
float val = std::gpio.readPin();std::gpio.writePin(int newVal): void
Description: Write a value to the pin.
std::gpio.writePin(1);