Skip to content

Instantly share code, notes, and snippets.

@dilshan
Last active June 30, 2019 03:57
Show Gist options
  • Save dilshan/91251d3bab67a95d8670e531f618a867 to your computer and use it in GitHub Desktop.
Save dilshan/91251d3bab67a95d8670e531f618a867 to your computer and use it in GitHub Desktop.
USB external display module low level API call
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