#include <Loom_AS7265X.h>
|
| Loom_AS7265X (Manager &man, bool useMux=false, int addr=0x49, bool use_bulb=false, uint8_t gain=64, uint8_t mode=AS7265X_MEASUREMENT_MODE_6CHAN_ONE_SHOT, uint8_t integration_time=50) |
|
uint16_t * | getUV () |
|
uint16_t * | getColor () |
|
uint16_t * | getNIR () |
|
| I2CDevice (const char *modName) |
|
bool | checkDeviceConnection () |
|
| Module (const char *modName) |
|
void | setModuleName (const char *modName) |
|
virtual const char * | getModuleName () |
|
virtual void | printModuleName (const char *message) |
|
virtual void | initialize ()=0 |
|
virtual void | measure ()=0 |
|
virtual void | package ()=0 |
|
virtual void | power_up ()=0 |
|
virtual void | power_down ()=0 |
|
virtual void | display_data () |
|
|
bool | needsReinit = false |
|
bool | moduleInitialized = true |
|
int | module_address = -1 |
|
AS7265X Full Spectrum Sensor
- Author
- Will Richards
◆ Loom_AS7265X()
Loom_AS7265X::Loom_AS7265X |
( |
Manager & |
man, |
|
|
bool |
useMux = false , |
|
|
int |
addr = 0x49 , |
|
|
bool |
use_bulb = false , |
|
|
uint8_t |
gain = 64 , |
|
|
uint8_t |
mode = AS7265X_MEASUREMENT_MODE_6CHAN_ONE_SHOT , |
|
|
uint8_t |
integration_time = 50 |
|
) |
| |
Constructs a new AS7265X sensor
- Parameters
-
man | Reference to the manager that is used to universally package all data |
useMux | If this module will be using the mux |
addr | I2C address that is assigned to the sensor |
use_bulb | Enable the light bulb |
gain | Gain level |
mode | Read Mode: 0("4 channels out of 6"), 1("Different 4 channels out of 6"), 2("All 6 channels continuously"), 3("One-shot reading of all channels") |
integration_time | Integration time (time will be 2.8ms * [integration value]) |
◆ initialize()
void Loom_AS7265X::initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ measure()
void Loom_AS7265X::measure |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ package()
void Loom_AS7265X::package |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ power_down()
void Loom_AS7265X::power_down |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ power_up()
void Loom_AS7265X::power_up |
( |
| ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files:
- C:/Users/jwilt/AppData/Local/Arduino15/packages/loom4/hardware/samd/4.5/libraries/Loom/src/Sensors/I2C/Loom_AS7265X/Loom_AS7265X.h
- C:/Users/jwilt/AppData/Local/Arduino15/packages/loom4/hardware/samd/4.5/libraries/Loom/src/Sensors/I2C/Loom_AS7265X/Loom_AS7265X.cpp