Class Max30102

java.lang.Object
com.diozero.devices.sandpit.Max30102
All Implemented Interfaces:
DeviceInterface, AutoCloseable

public class Max30102
extends Object
implements DeviceInterface
  • Constructor Details

    • Max30102

      public Max30102()
    • Max30102

      public Max30102​(int controller)
  • Method Details

    • reset

      public void reset()
    • getRevisionId

      public byte getRevisionId()
    • getPartId

      public byte getPartId()
    • setup

      public void setup​(Max30102.SampleAveraging sampleAveraging, Max30102.FifoRolloverOnFull fifoRolloverOnFull, int freeFifoEntriesInterruptThreshold)
    • getDataPresent

      public int getDataPresent()
    • readFifo

      public void readFifo()
    • close

      public void close()
      Description copied from interface: DeviceInterface
      Close this device
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface DeviceInterface