Initial commit

This commit is contained in:
2023-10-29 20:55:05 -03:00
commit 8e19b82850
9 changed files with 690 additions and 0 deletions

12
tcd1304_viewer/serial.py Normal file
View File

@@ -0,0 +1,12 @@
import serial
class SerialHandler:
def __init__(self) -> None:
self.ser = serial.Serial()
self.ser.baudrate = 921600
self.ser.port = "/dev/serial0"
def start(self) -> None:
self.ser.open()