Enumeration Casemadmachineio.swiftio 0.1.0SwiftIO
oneShot
Timer.swift:182case oneShot
case oneShot
import SwiftIO
The SwiftIO library allows you to access and control the hardware in an easy way.
enum Mode
There are two timer modes: oneShot
means the timer works only once; period
means the timer works periodically.
final class Timer
The Timer class can measure the time passed. If the time limit is reached, it can execute a specified task.
case period