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>
32 lines
No EOL
759 B
YAML
32 lines
No EOL
759 B
YAML
name: Arduino Library CI
|
|
|
|
on: [pull_request, push, repository_dispatch]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/setup-python@v1
|
|
with:
|
|
python-version: '3.x'
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
repository: adafruit/ci-arduino
|
|
path: ci
|
|
|
|
- name: pre-install
|
|
run: bash ci/actions_install.sh
|
|
|
|
- name: clang
|
|
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
|
|
|
|
- name: test platforms
|
|
run: python3 ci/build_platform.py main_platforms
|
|
|
|
- name: doxygen
|
|
env:
|
|
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
|
|
PRETTYNAME : "Adafruit TCS3430 Arduino Library"
|
|
run: bash ci/doxy_gen_and_deploy.sh |