Remarks

ArducamMini
Status Not Working
Source code GitHub
NuGet package Not Published
Characteristic Locus
Inheritance System.Object > ArducamMini
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 Meadow.Foundation.Sensors.Camera
Assembly ArducamMini.dll

Syntax

public class ArducamMini

Constructors

View Source

ArducamMini(IIODevice, ISpiBus, IPin, II2cBus, Byte)

Declaration
public ArducamMini(IIODevice device, ISpiBus spiBus, IPin chipSelectPin, II2cBus i2cBus, byte address = 48)

Parameters

Type Name Description
IIODevice device
ISpiBus spiBus
IPin chipSelectPin
II2cBus i2cBus
System.Byte address

Fields

View Source

chipSelectPort

Declaration
protected IDigitalOutputPort chipSelectPort

Field Value

Type Description
IDigitalOutputPort
View Source

i2cDevice

Declaration
protected II2cPeripheral i2cDevice

Field Value

Type Description
II2cPeripheral
View Source

spiDevice

Declaration
protected ISpiPeripheral spiDevice

Field Value

Type Description
ISpiPeripheral

Properties

View Source

DEFAULT_SPEED

Declaration
public int DEFAULT_SPEED { get; }

Property Value

Type Description
System.Int32

Methods

View Source

ClearFifoFlag()

Declaration
public void ClearFifoFlag()
View Source

FlushFifo()

Declaration
public void FlushFifo()
View Source

GetImageData()

Declaration
public byte[] GetImageData()

Returns

Type Description
System.Byte[]
View Source

IsCaptureComplete()

Declaration
public bool IsCaptureComplete()

Returns

Type Description
System.Boolean
View Source

ReadFifo()

Declaration
public byte ReadFifo()

Returns

Type Description
System.Byte
View Source

ReadFifoLength()

Declaration
public int ReadFifoLength()

Returns

Type Description
System.Int32
View Source

ReadSpiRegister(Byte)

Declaration
protected byte ReadSpiRegister(byte address)

Parameters

Type Name Description
System.Byte address

Returns

Type Description
System.Byte
View Source

StartCapture()

Declaration
public void StartCapture()
View Source

WriteI2cRegisters(SensorReg[])

Declaration
protected void WriteI2cRegisters(SensorReg[] regs)

Parameters

Type Name Description
SensorReg[] regs
View Source

WriteSpiRegister(Byte, Byte)

Declaration
protected void WriteSpiRegister(byte address, byte value)

Parameters

Type Name Description
System.Byte address
System.Byte value