Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 141 Bytes
import time
import analogio
import board
light = analogio.AnalogIn(board.LIGHT)
while True:
print((light.value,))
time.sleep(0.1)
You can’t perform that action at this time.