Show / Hide Table of Contents

Class CurrentSensorREPL

Provides functionality for Adafruit circuitpython REPL INA219 current sensors

Inheritance
System.Object
CurrentSensorREPL
Implements
ICurrentSensor
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 Source

CurrentSensorREPL(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 Source

GetCurrent()

Get current sensor values

Declaration
public double GetCurrent()
Returns
Type Description
System.Double

Current in mA

View Source

Init()

Current sensor code init via circuit python REPL

Declaration
public void Init()

Implements

ICurrentSensor
  • View Source
In This Article
Back to top Generated by DocFX