Skip to content

Commit e49ad66

Browse files
committed
Turn the LED green on connect :)
1 parent 346dbc3 commit e49ad66

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pslab/sciencelab.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ def __init__(self):
4343
self.i2c = I2CMaster(device=self)
4444
self.nrf = NRF24L01(device=self)
4545

46+
if "V6" in self.version: # Set the built-in WS2812B to green :)
47+
self.rgb_led([0, 20, 0])
48+
4649
@property
4750
def temperature(self):
4851
"""float: Temperature of the MCU in degrees Celsius."""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setuptools.setup(
88
name="pslab",
9-
version="2.0.0.rc1",
9+
version="2.0.0.rc2",
1010
description="Pocket Science Lab by FOSSASIA",
1111
long_description=long_description,
1212
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)