summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/rp2/README.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/rp2/README.md b/ports/rp2/README.md
index c2f3771cd..911d797fe 100644
--- a/ports/rp2/README.md
+++ b/ports/rp2/README.md
@@ -69,7 +69,6 @@ from machine import Pin, Timer
led = Pin(25, Pin.OUT)
tim = Timer()
def tick(timer):
- global led
led.toggle()
tim.init(freq=2.5, mode=Timer.PERIODIC, callback=tick)