Class CurrentSensorREPL
Provides functionality for Adafruit circuitpython REPL INA219 current sensors
Inheritance
System.Object
CurrentSensorREPL
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Elatec.FCT.Client.Hardware
Assembly: ElatecFCT.dll
Syntax
public class CurrentSensorREPL : ICurrentSensor
Constructors
View SourceCurrentSensorREPL(CircuitPythonREPL)
Initializes a new instance of the ElatecFCT.Hardware.CurrentSensor using a CircuitPythonREPL port
Declaration
public CurrentSensorREPL(CircuitPythonREPL board)
Parameters
Type | Name | Description |
---|---|---|
CircuitPythonREPL | board |
Methods
View SourceGetCurrent()
Get current sensor values
Declaration
public double GetCurrent()
Returns
Type | Description |
---|---|
System.Double | Current in mA |
Init()
Current sensor code init via circuit python REPL
Declaration
public void Init()