printer settings
This commit is contained in:
parent
361ee302a8
commit
1b4faf3e47
2
main.py
2
main.py
@ -16,7 +16,7 @@ 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.set(density=10)
|
||||
# printer.set(density=10)
|
||||
cameraMode = False
|
||||
TIMER = 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user