power: Int16) • public func turnMotorAtSpeed(onPorts ports: OutputPort, withSpeed speed: Int16) //根據三種步驟啟動⾺達 • public func stepMotorAtSpeed(ports: OutputPort, speed: Int16, rampUpSteps: UInt32, constantSteps: UInt32, rampDownSteps: UInt32, brake: Bool) • public func stepMotorAtPower(ports: OutputPort, power: Int16, rampUpSteps: UInt32, constantSteps: UInt32, rampDownSteps: UInt32, brake: Bool) //上述便捷⽅法(up跟down step為0) • public func stepMotorAtSpeed(ports: OutputPort, speed: Int16, steps: UInt32, brake: Bool) • public func stepMotorAtPower(ports: OutputPort, power: Int16, steps: UInt32, brake: Bool)