Skip to content

Commit c595d47

Browse files
committed
Merge remote-tracking branch 'adafruit/master' into pypaint
2 parents ec40851 + 6c6d452 commit c595d47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Introducing_CircuitPlaygroundExpress/CircuitPlaygroundExpress_LightSensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CircuitPlaygroundExpress_LightSensor
2-
# reads the on-board light sensor and graphs the brighness with NeoPixels
2+
# reads the on-board light sensor and graphs the brightness with NeoPixels
33

44
import time
55

@@ -15,7 +15,7 @@
1515
analogin = AnalogIn(board.LIGHT)
1616

1717
while True:
18-
# light value remaped to pixel position
18+
# light value remapped to pixel position
1919
peak = map_range(analogin.value, 2000, 62000, 0, 9)
2020
print(analogin.value)
2121
print(int(peak))

0 commit comments

Comments
 (0)