Enclose rfid reading

This commit is contained in:
2025-12-26 17:06:42 +01:00
parent 126a266321
commit d4aae20bd0
10 changed files with 98 additions and 31 deletions

17
rpi/hardware/timer/led.py Normal file
View File

@@ -0,0 +1,17 @@
import grovepi
import time
LED = 2 # Digital port D2
grovepi.pinMode(LED, "OUTPUT")
def on():
grovepi.digitalWrite(LED, 1)
def off():
grovepi.digitalWrite(LED, 0)
if __name__ == "__main__":
on()
time.sleep(1)
off()