Complete Arduino library for TCS3430 color and ALS sensor featuring: - Full register control with get/set functions and enums - Efficient bulk I2C data reading for X,Y,Z tristimulus values - Interrupt handling with configurable persistence and thresholds - 128x gain support with HGAIN bit management - Auto-zero calibration and sleep after interrupt modes - Hardware tested on Arduino Metro Mini 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
No EOL
342 B
YAML
13 lines
No EOL
342 B
YAML
Language: Cpp
|
|
BasedOnStyle: Google
|
|
IndentWidth: 2
|
|
ColumnLimit: 80
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
BinPackArguments: true
|
|
BinPackParameters: true
|
|
BreakBeforeBraces: Attach
|
|
DerivePointerAlignment: false
|
|
PointerAlignment: Left
|
|
SpacesBeforeTrailingComments: 1 |