package
0.0.0-20200808171714-6b6002bc0c24
Repository: https://github.com/cr4psy/gosensor.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DefaultAddress return the default i2c address.

# Constants

No description provided by the author
No description provided by the author
Configuration Settings.
No description provided by the author
No description provided by the author
Change this to 12 bit if you want less accuracy, but faster sensor reads At default 16 bit, each sensor sample for a given color is about ~100ms.
Light intensity range In a dark environment 375Lux is best, otherwise 10KLux is likely the best option.
Unless you want the interrupt pin to be an input that triggers sensor sampling, leave this on normal.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CONFIG1 Pick a mode, determines what color[s] the sensor samples, if any.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Sets amount of IR filtering, can use these presets or any value between = 0x00 and = 0x3F Consult datasheet for detailed IR filtering calibration.
No description provided by the author
No description provided by the author
No description provided by the author
How many times a sensor sample must hit a threshold before triggering an interrupt More consecutive samples means more times between interrupts, but less triggers from short transients.
No description provided by the author
No description provided by the author
No description provided by the author
CONFIG3 No interrupts, or interrupts based on a selected color.
No description provided by the author
If you would rather have interrupts trigger when a sensor sampling is complete, enable this If this is disabled, interrupts are based on comparing sensor data to threshold settings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ISL29125 Registers.
ISL29125 I2C Device ID Value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
STATUS FLAG MASKS.
No description provided by the author
No description provided by the author
ISL29125 I2C Address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author