From 1ebed83f27e5a66d08eea6bf4296703a44e49ea4 Mon Sep 17 00:00:00 2001 From: gocivici Date: Thu, 26 Oct 2023 20:14:32 +0300 Subject: [PATCH] baudrate upodate --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index c4d6c30..f8026bb 100644 --- a/main.py +++ b/main.py @@ -15,7 +15,7 @@ button = Button(2) cam = cv2.VideoCapture(0) cv2.namedWindow("webcam", cv2.WND_PROP_FULLSCREEN) cv2.setWindowProperty("webcam",cv2.WND_PROP_FULLSCREEN,cv2.WINDOW_FULLSCREEN) -printer = Serial(devfile='/dev/serial0',baudrate=19200,bytesize=8,parity='N',stopbits=1.00,dsrdtr=True) +printer = Serial(devfile='/dev/serial0',baudrate=9600,bytesize=8,parity='N',stopbits=1.00,dsrdtr=True) # printer.set(density=10) cameraMode = False TIMER = 5