|
1 | | -// Define the repository information in these attributes |
2 | | -:repository-owner: arduino-libraries |
3 | | -:repository-name: Arduino_LTR381RGB |
| 1 | +# 🌈 Arduino LTR381RGB Library |
4 | 2 |
|
5 | | -= Modbus Library for Arduino = |
| 3 | +Allows you to read RGB, infrared, and ambient light values from the Lite-On LTR381RGB sensor. |
6 | 4 |
|
7 | | -image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/check-arduino.yml/badge.svg["Check Arduino status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/check-arduino.yml"] |
8 | | -image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/compile-examples.yml/badge.svg["Compile Examples status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/compile-examples.yml"] |
9 | | -image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/spell-check.yml/badge.svg["Spell Check status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/spell-check.yml"] |
| 5 | +The Lite-On LTR381RGB is a digital light sensor capable of measuring red, green, blue (RGB) color components, infrared (IR) intensity, and ambient light (ALS) levels. |
| 6 | +It communicates over the I²C bus and includes programmable gain, resolution, and interrupt thresholds, making it suitable for applications such as color detection, lux measurement, and automatic brightness or white balance adjustment. |
10 | 7 |
|
11 | | -Allows you to read RGB, Infrared and ambient light channels values from LITEON LTR381RGB sensor. |
12 | | - |
13 | | -== License == |
14 | | - |
15 | | -Copyright (c) 2025 Arduino SA |
16 | | -This Source Code Form is subject to the terms of the Mozilla |
17 | | -Public License (MPL), v 2.0. You can obtain a copy of the MPL |
18 | | -at http://mozilla.org/MPL/2.0/ |
| 8 | +This library provides an easy-to-use API to interface with the Lite-On LTR381RGB color and ambient light sensor. |
| 9 | +It supports RGB, IR, and ALS measurements, as well as automatic calibration, gain and resolution control, interrupt configuration, and color space conversion (HSV/HSL). |
0 commit comments