Reference+
Class Name
GPIO
Description
The GPIO class reads and writes from General Purpose I/O pins
Examples
Constructors
GPIO()
Methods
attachInterrupt()Calls a function when the value of an input pin changesdigitalRead()Returns the value of an input pindigitalWrite()Sets an output pin to be either high or lowinterrupts()Allows interrupts to happennoInterrupts()Prevents interrupts from happpeningpinMode()Configures a pin to act either as input or outputreleaseInterrupt()Stops listening for interrupts on an input pinreleasePin()Gives ownership of a pin back to the operating systemwaitFor()Waits for the value of an input pin to changewaitFor()Waits for the value of an input pin to change

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.