Update blink.py

not a huge bug, but thought it might confuse new commers
pull/54/head
Parsley97 2022-12-12 23:09:17 +02:00 zatwierdzone przez GitHub
rodzic c82971b6e0
commit 896a04ecbc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2,7 +2,7 @@ from machine import Pin, Timer
led = Pin("LED", Pin.OUT)
tim = Timer()
def tick(timer):
def tick(tim):
global led
led.toggle()