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

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

chipSelectPort

Declaration
protected IDigitalOutputPort chipSelectPort

Field Value

Type Description
IDigitalOutputPort

i2cDevice

Declaration
protected II2cPeripheral i2cDevice

Field Value

Type Description
II2cPeripheral

spiDevice

Declaration
protected ISpiPeripheral spiDevice

Field Value

Type Description
ISpiPeripheral

Properties

DEFAULT_SPEED

Declaration
public int DEFAULT_SPEED { get; }

Property Value

Type Description
System.Int32

Methods

ClearFifoFlag()

Declaration
public void ClearFifoFlag()

FlushFifo()

Declaration
public void FlushFifo()

GetImageData()

Declaration
public byte[] GetImageData()

Returns

Type Description
System.Byte[]

IsCaptureComplete()

Declaration
public bool IsCaptureComplete()

Returns

Type Description
System.Boolean

ReadFifo()

Declaration
public byte ReadFifo()

Returns

Type Description
System.Byte

ReadFifoLength()

Declaration
public int ReadFifoLength()

Returns

Type Description
System.Int32

ReadSpiRegister(Byte)

Declaration
protected byte ReadSpiRegister(byte address)

Parameters

Type Name Description
System.Byte address

Returns

Type Description
System.Byte

StartCapture()

Declaration
public void StartCapture()

WriteI2cRegisters(SensorReg[])

Declaration
protected void WriteI2cRegisters(SensorReg[] regs)

Parameters

Type Name Description
SensorReg[] regs

WriteSpiRegister(Byte, Byte)

Declaration
protected void WriteSpiRegister(byte address, byte value)

Parameters

Type Name Description
System.Byte address
System.Byte value