Skip to main content

Interface IPowerControllablePeripheral

Provides an abstraction for peripherals that can be turned on and off

Assembly: Meadow.Contracts.dll
View Source
Declaration
public interface IPowerControllablePeripheral

Methods

PowerOn()

Powers on the peripheral

View Source
Declaration
Task PowerOn()
Returns

System.Threading.Tasks.Task

PowerOff()

Powers off the peripheral

View Source
Declaration
Task PowerOff()
Returns

System.Threading.Tasks.Task