Last active
December 8, 2021 20:37
-
-
Save wolkenarchitekt/de19c133f28d2b633ceb682bd0457a24 to your computer and use it in GitHub Desktop.
ATOM UAV serial read USB
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
# Prerequisites: | |
# pip install pyserial==3.5 | |
# Get USB device ID via lsusb | |
import serial | |
# Results in SerialException: Could not configure port: (25, 'Inappropriate ioctl for device') | |
ser = serial.Serial("/dev/bus/usb/003/014", baudrate=115200, stopbits=serial.STOPBITS_ONE, timeout=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment