We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae9c82d commit fa82aa8Copy full SHA for fa82aa8
1 file changed
examples/ledangle.py
@@ -2,9 +2,9 @@
2
3
def led_angle(seconds_to_run_for):
4
# make LED objects
5
- l1 = pyb.Led(1)
6
- l2 = pyb.Led(2)
7
- accel = pyb.Accel()
+ l1 = pyb.LED(1)
+ l2 = pyb.LED(2)
+ accel = pyb.Accel()
8
9
for i in range(20 * seconds_to_run_for):
10
# get x-axis
0 commit comments