Class GPIOExpanderREPL
Provides functionality for Adafruit circuitpython REPl GPIO expander
Inheritance
System.Object
GPIOExpanderREPL
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 GPIOExpanderREPL : ISignal
Constructors
View SourceGPIOExpanderREPL(CircuitPythonREPL)
Initializes a new instance of the ElatecFCT.Hardware.GPIOExpander using a CircuitPythonREPL port
Declaration
public GPIOExpanderREPL(CircuitPythonREPL board)
Parameters
Type | Name | Description |
---|---|---|
CircuitPythonREPL | board |
Methods
View SourceClearIO(Byte[])
Declaration
public void ClearIO(byte[] io)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | io |
Init()
GPIO expander code init via circuit python REPL
Declaration
public bool Init()
Returns
Type | Description |
---|---|
System.Boolean |
InitAsDutIO()
GPIO expander code init via circuit python REPL
Declaration
public bool InitAsDutIO()
Returns
Type | Description |
---|---|
System.Boolean |
ReadIO(Byte[])
Declaration
public bool ReadIO(byte[] io)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | io |
Returns
Type | Description |
---|---|
System.Boolean |
ReadIoDirOutput(Byte[])
Declaration
public bool ReadIoDirOutput(byte[] io)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | io |
Returns
Type | Description |
---|---|
System.Boolean |
SetIO(Byte[])
Declaration
public void SetIO(byte[] io)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | io |
SetIoHighZ(Byte[])
Declaration
public void SetIoHighZ(byte[] io)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | io |
SetIoInput(Byte[])
Declaration
public void SetIoInput(byte[] io)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | io |
SetIoOutput(Byte[])
Declaration
public void SetIoOutput(byte[] io)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | io |