Skip to content

Commit b2e6a86

Browse files
update simple example
1 parent 8704fa0 commit b2e6a86

File tree

2 files changed

+2
-45
lines changed

2 files changed

+2
-45
lines changed

TESTS/test_code.py

-44
This file was deleted.

examples/ltr390_simpletest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2020 by Bryan Siepert, written for Adafruit Industries
1+
# SPDX-FileCopyrightText: 2021 by Bryan Siepert, written for Adafruit Industries
22
#
33
# SPDX-License-Identifier: Unlicense
44
import time
@@ -12,4 +12,5 @@
1212

1313
while True:
1414
print("UV:", ltr.uvs, "\t\tAmbient Light:", ltr.light)
15+
print("UVI:", ltr.uvi, "\t\tLux:", ltr.lux)
1516
time.sleep(1.0)

0 commit comments

Comments
 (0)