Last active
May 28, 2018 21:20
-
-
Save adammhaile/1d030cf79f537d529b0b1f02bb2ab514 to your computer and use it in GitHub Desktop.
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
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