Last active
June 30, 2019 03:57
-
-
Save dilshan/91251d3bab67a95d8670e531f618a867 to your computer and use it in GitHub Desktop.
USB external display module low level API call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import serial | |
device = serial.Serial('/dev/ttyACM0') | |
if device.is_open: | |
device.write([94, 49, 54, 49, 55, 52, 0, 0, 0, 0, 0, 0]) | |
device.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment