We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4c504f commit fb5355bCopy full SHA for fb5355b
1 file changed
tutorials/Lecture1.md
@@ -112,13 +112,14 @@ In this case the Led_Light class inherits the Pin class and without any further
112
113
```python
114
from machine import Pin
115
+from time import sleep
116
117
class Led_Light(Pin):
118
# child class inherits the parent 'Pin' class
119
def __init__(self, pin):
120
super().__init__(pin, Pin.OUT)
121
-red_light = Led_Light(3e)
122
+red_light = Led_Light(3)
123
124
while True:
125
red_light.on()
0 commit comments