Skip to content

Commit fa82aa8

Browse files
committed
LED Fix
1 parent ae9c82d commit fa82aa8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/ledangle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
def led_angle(seconds_to_run_for):
44
# make LED objects
5-
l1 = pyb.Led(1)
6-
l2 = pyb.Led(2)
7-
accel = pyb.Accel()
5+
l1 = pyb.LED(1)
6+
l2 = pyb.LED(2)
7+
accel = pyb.Accel()
88

99
for i in range(20 * seconds_to_run_for):
1010
# get x-axis

0 commit comments

Comments
 (0)