Files
PC_Shutdown/main.py
2026-04-18 22:25:35 +05:30

8 lines
142 B
Python

import time
from machine import Pin
Inverter_Pin = Pin(4, Pin.IN, Pin.PULL_UP)
while True:
print(Inverter_Pin.value())
time.sleep(1)