Files
PC_Shutdown/main.py
2026-04-17 00:09:59 +05:30

8 lines
129 B
Python

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