Skip to content

Commit fc74734

Browse files
committed
Updated license and added comment to the examples
1 parent 151ef88 commit fc74734

File tree

6 files changed

+40
-86
lines changed

6 files changed

+40
-86
lines changed

examples/ReadAllSensor/ReadAllSensor.ino

Lines changed: 0 additions & 38 deletions
This file was deleted.

examples/ReadColors/ReadColors.ino

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
Arduino LTR381RGB - Read Colors
3+
4+
This example reads the RGB channels values from the LTR381RGB
5+
sensor and continuously prints them to the Serial Monitor
6+
or Serial Plotter.
7+
8+
The circuit:
9+
- Arduino Uno WiFi R4
10+
- Modulino light sensor
11+
12+
This example code is in the public domain.
13+
*/
14+
115
#include "Arduino_LTR381RGB.h"
216

317
void setup() {

examples/ReadLux/ReadLux.ino

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
Arduino LTR381RGB - Read Lux
3+
4+
This example reads lux values from the LTR381RGB
5+
sensor and continuously prints them to the Serial Monitor
6+
or Serial Plotter.
7+
8+
The circuit:
9+
- Arduino Uno WiFi R4
10+
- Modulino light sensor
11+
12+
This example code is in the public domain.
13+
*/
14+
115
#include "Arduino_LTR381RGB.h"
216

317
void setup() {

src/Arduino_LTR381RGB.h

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
/*
2-
This file is part of the Arduino_LTR381RGB library.
3-
Copyright (c) 2021 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright (c) 2025 Arduino SA
3+
his Source Code Form is subject to the terms fo the Mozilla
4+
Public License (MPL), v 2.0. You can obtain a copy of the MPL
5+
at http://mozilla.org/MPL/2.0/
186
*/
197

208
#ifndef _ARUDINO_LTR381RGB_H_

src/LTR381RGB.cpp

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
/*
2-
This file is part of the Arduino_LTR381RGB library.
3-
Copyright (c) 2021 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright (c) 2025 Arduino SA
3+
his Source Code Form is subject to the terms fo the Mozilla
4+
Public License (MPL), v 2.0. You can obtain a copy of the MPL
5+
at http://mozilla.org/MPL/2.0/
186
*/
197

208
#include "LTR381RGB.h"

src/LTR381RGB.h

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
/*
2-
This file is part of the Arduino_LTR381RGB library.
3-
Copyright (c) 2021 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2+
Copyright (c) 2025 Arduino SA
3+
his Source Code Form is subject to the terms fo the Mozilla
4+
Public License (MPL), v 2.0. You can obtain a copy of the MPL
5+
at http://mozilla.org/MPL/2.0/
186
*/
197

208
#include <Arduino.h>

0 commit comments

Comments
 (0)