Class RheostatExtensions
Extensions for the IRheostat
Assembly: Meadow.Contracts.dll
View Source
Declaration
public static class RheostatExtensions
Methods
GetCurrentPosition(IRheostat)
Gets the current position as a percentage of maximum resistance (0-100).
View Source
Declaration
public static int GetCurrentPosition(this IRheostat self)
Returns
System.Int32
Parameters
| Type | Name |
|---|---|
| Meadow.Hardware.IRheostat | self |