Advertisement
y2kbug

Untitled

Oct 10th, 2021
1,083
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. import serial
  2. ser = serial.Serial('/dev/ttyUSB0', 9600)
  3.  
  4. ser.write("screen_up\n".encode("utf-8"))
  5.  
  6. ser.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement