A protocol that defines the methods for a GPIO delegate. More...
#import <Application/Application.h>
Instance Methods | |
(void) | - gpio:changed: |
Called when the GPIO input changes. More... | |
A protocol that defines the methods for a GPIO delegate.
Definition at line 17 of file GPIODelegate+Protocol.h.
Called when the GPIO input changes.
sender | The GPIO that triggered the event. |
event | The event that occurred. |
This method is called when the GPIO input changes, either GPIOEventRising (from low to high) or GPIOEventFalling (from high to low). When both edges are detected, the event will include both GPIOEventRising and GPIOEventFalling (GPIOEventChanged).