Skip to main content

Class Ads1015

Represents a ADS1015 12-bit, 3.3-kSPS, 4-channel, delta-sigma analog-to-digital converter with PGA, oscillator, VREF, comparator

Assembly: Ads1x15.dll
View Source
public class Ads1015 : Ads1x15Base, IObservable<IChangeResult<Voltage>>, ISamplingSensor<Voltage>, ISensor<Voltage>, ISensor, ISamplingSensor, II2cPeripheral

Inheritance: System.Object -> Meadow.Foundation.ObservableBase<UNIT> -> Meadow.Foundation.SamplingSensorBase<UNIT> -> Meadow.Foundation.PollingSensorBase<UNIT> -> Meadow.Foundation.ICs.ADC.Ads1x15Base

Implements:
System.IObservable<Meadow.IChangeResult<Meadow.Units.Voltage>>, Meadow.Peripherals.Sensors.ISamplingSensor<Meadow.Units.Voltage>, Meadow.Peripherals.Sensors.ISensor<Meadow.Units.Voltage>, Meadow.Peripherals.Sensors.ISensor, Meadow.Peripherals.Sensors.ISamplingSensor, Meadow.Hardware.II2cPeripheral

Properties

BitResolution

Sample rate resolution

View Source
protected override int BitResolution { get; }

ReadShiftBits

Bits to shift for reads

View Source
protected override int ReadShiftBits { get; }

SampleRate

Sample rate setting

View Source
public Ads1015.SampleRateSetting SampleRate { get; set; }

Implements

  • System.IObservable<Meadow.IChangeResult<Meadow.Units.Voltage>>
  • Meadow.Peripherals.Sensors.ISamplingSensor<Meadow.Units.Voltage>
  • Meadow.Peripherals.Sensors.ISensor<Meadow.Units.Voltage>
  • Meadow.Peripherals.Sensors.ISensor
  • Meadow.Peripherals.Sensors.ISamplingSensor
  • Meadow.Hardware.II2cPeripheral