Skip to content

Commit 948e517

Browse files
authored
Merge pull request #3 from leonardocavagnis/patch-1
Add description and URL to library.properties
2 parents 4b7afea + e93d050 commit 948e517

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

README.adoc

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
// Define the repository information in these attributes
2-
:repository-owner: arduino-libraries
3-
:repository-name: Arduino_LTR381RGB
1+
# 🌈 Arduino LTR381RGB Library
42

5-
= Modbus Library for Arduino =
3+
Allows you to read RGB, infrared, and ambient light values from the Lite-On LTR381RGB sensor.
64

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.
107

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).

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name=Arduino_LTR381RGB
22
version=1.0.0
33
author=Arduino
44
maintainer=Arduino <[email protected]>
5-
sentence=
6-
paragraph=
5+
sentence=Library for the Lite-On LTR381RGB color and ambient light sensor.
6+
paragraph=This library provides an easy-to-use interface to read RGB, IR, and ambient light values from the Lite-On LTR381RGB sensor. It supports calibration, gain and resolution configuration, lux calculation, and conversion to HSV/HSL color spaces.
77
category=Sensors
8-
url=
8+
url=https://github.com/arduino-libraries/Arduino_LTR381RGB
99
architectures=*
1010
includes=Arduino_LTR381RGB.h

0 commit comments

Comments
 (0)