Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DexterInd/GoPiGo3
/ light_off
Method
light_off
Software/Python/easysensors.py:1193–1198 ·
view source on GitHub ↗
Turns off the `Grove LED`_.
(self)
Source
from the content-addressed store, hash-verified
1191
self.light_on(max_power)
1192
1193
def
light_off(self):
1194
""
"
1195
Turns off the `Grove LED`_.
1196
1197
""
"
1198
self.write(0)
1199
1200
def
is_on(self):
1201
""
"
Callers
2
easy_LED.py
File · 0.80
easy_Light_Sensor.py
File · 0.80
Calls
1
write
Method · 0.45
Tested by
no test coverage detected