Compare commits

...

2 Commits

Author SHA1 Message Date
Juul 5286a9de73 Created makefile, organized files, updated gitignore 2025-07-16 18:06:22 +02:00
Juul 0470b3f280 Update gitignore 2025-07-16 18:05:16 +02:00
6 changed files with 16 additions and 1 deletions
+6
View File
@@ -1,2 +1,8 @@
.venv/*
.idea/*
#Build files
build/*
dist/*
*.pyz
*.spec
+5
View File
@@ -0,0 +1,5 @@
run:
python3 __main__.py
package:
rm p1-fopper.pyz && python3 -m zipapp . -o p1-fopper.pyz
+4
View File
@@ -8,6 +8,10 @@ OUTPUT_PORT = '/dev/ttyUSB0'
dataInput = serial.Serial(INPUT_PORT, 115200, timeout=1)
dataOutput = serial.Serial(OUTPUT_PORT, 115200, timeout=1)
def lees():
while True:
line = dataInput.readline()
print(line)
def verzend(telegram):
while True:
View File