Enumeration Casemadmachineio.swiftio 0.1.0SwiftIO
bothEdge
DigitalIn.swift:413case bothEdge
case bothEdge
import SwiftIO
The SwiftIO library allows you to access and control the hardware in an easy way.
enum InterruptMode
Determines the event to raise an interrupt: rising edge, falling edge or both.
final class DigitalIn
The DigitalIn class is intended to detect the state of a digital input pin, either true or false.
case rising
case falling