[WIP] Пытаемся получить данные ардуино

This commit is contained in:
Антон Кирпиков 2024-04-29 20:04:32 +03:00
parent 6cee949292
commit a87becb772
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.venv

3
ard.py Normal file
View File

@ -0,0 +1,3 @@
from serial import Serial
ser = Serial('COM4', 9600)
s = ser.read(100) # read up to one hundred bytes