42 + (
GPIO *)inputWithPin:(uint8_t)
pin;
58 + (
GPIO *)pullupWithPin:(uint8_t)
pin;
74 + (
GPIO *)pulldownWithPin:(uint8_t)
pin;
89 + (
GPIO *)outputWithPin:(uint8_t)
pin;
uint8_t pin()
Returns the pin number.
bool isInput()
Returns true if the GPIO pin is configured as an input.
BOOL state()
Returns the state of the GPIO pin.
Hardware interface abstraction layer.
bool BOOL
A Boolean value.
uint8_t count()
Returns the total number of GPIO pins available.
The base class for objects in the Foundation framework.
struct objc_object * id
A pointer to an instance of a class.
bool isOutput()
Returns true if the GPIO pin is configured as an output.
GPIO logical pin structure.
id< GPIODelegate > delegate()
Returns the current delegate for GPIO events.