We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0f2927 commit 094bd14Copy full SHA for 094bd14
content/learn/03.programming/05.arduino-and-python/arduino-and-python.md
@@ -26,7 +26,7 @@ from machine import Pin
26
27
led = Pin(6, Pin.OUT)
28
29
-while (True):
+while True:
30
led.on()
31
time.sleep_ms(250)
32
led.off()
@@ -207,7 +207,7 @@ import utime
207
208
p2 = Pin(25, Pin.OUT)
209
210
-while(True):
211
p2.value(0)
212
print("off")
213
utime.sleep(1)
@@ -226,7 +226,7 @@ import utime
226
227
p2 = Pin(25, Pin.IN, Pin.PULL_UP)
228
229
230
print(p2.value())
231
232
```
@@ -241,7 +241,7 @@ import utime
241
242
p2 = Pin(25, Pin.IN, Pin.PULL_DOWN)
243
244
245
246
247
0 commit comments