Skip to content

Instantly share code, notes, and snippets.

@adammhaile
Last active May 28, 2018 21:20
Show Gist options
  • Save adammhaile/1d030cf79f537d529b0b1f02bb2ab514 to your computer and use it in GitHub Desktop.
Save adammhaile/1d030cf79f537d529b0b1f02bb2ab514 to your computer and use it in GitHub Desktop.
from __future__ import print_function
import sys
from bibliopixel.drivers.serial_driver import DriverSerial
ports = DriverSerial.findSerialDevices(hardwareID="16C0:0483")
for p in ports:
i = DriverSerial.getDeviceID(p)
print('{} -> {}'.format(p, i))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment