From 2e15caf8eea61ce82bd41e0704ab0a652d5518a2 Mon Sep 17 00:00:00 2001 From: Mihit Date: Fri, 17 Apr 2026 00:09:59 +0530 Subject: [PATCH] =?UTF-8?q?i=20guess=20its=20done=3F=20=C2=AF\=5F(?= =?UTF-8?q?=E3=83=84)=5F/=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 9 +++++++++ main.py | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 main.py diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9362af8 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,9 @@ +{ + "python.analysis.typeshedPaths": [ + "~/.micropico-stubs/included" + ], + "python.analysis.extraPaths": [ + "~/.micropico-stubs/included" + ], + "python-envs.defaultEnvManager": "ms-python.python:system" +} \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..86098e0 --- /dev/null +++ b/main.py @@ -0,0 +1,8 @@ +import time +from machine import Pin + +Inverter_Pin = Pin(4, Pin.IN) + +while True: + print(Inverter_Pin.value()) + time.sleep(1) \ No newline at end of file