public interface Tsl2671Proximity extends MetaWearBoard.Module
Modifier and Type | Interface and Description |
---|---|
static interface |
Tsl2671Proximity.ConfigEditor
Interface for configuring the sensor
|
static class |
Tsl2671Proximity.ReceiverDiode
Photodiodes the sensor should use for proximity detection
|
static interface |
Tsl2671Proximity.SourceSelector
Selector for proximity sensor data sources
|
static class |
Tsl2671Proximity.TransmitterDrive
Amount of current to drive the sensor
|
Modifier and Type | Method and Description |
---|---|
Tsl2671Proximity.ConfigEditor |
configure()
Configure the proximity detector
|
void |
readProximity(boolean silent)
Reads the proximity ADC value, interpreted as an integer.
|
Tsl2671Proximity.SourceSelector |
routeData()
Initiates the creation of a route for proximity data
|
void readProximity(boolean silent)
silent
- True if the read is silentTsl2671Proximity.ConfigEditor configure()
Tsl2671Proximity.SourceSelector routeData()