From fa82aa81c03bba74be013b7e39ab1270477b5cc3 Mon Sep 17 00:00:00 2001 From: Metallicow Date: Sat, 31 May 2014 23:10:10 -0600 Subject: [PATCH] LED Fix --- examples/ledangle.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ledangle.py b/examples/ledangle.py index 8864757aed..8c8d9e99d9 100644 --- a/examples/ledangle.py +++ b/examples/ledangle.py @@ -2,9 +2,9 @@ import pyb def led_angle(seconds_to_run_for): # make LED objects - l1 = pyb.Led(1) - l2 = pyb.Led(2) - accel = pyb.Accel() + l1 = pyb.LED(1) + l2 = pyb.LED(2) + accel = pyb.Accel() for i in range(20 * seconds_to_run_for): # get x-axis