Skip to content
Snippets Groups Projects
Commit 060e949e authored by Micah Elizabeth Scott's avatar Micah Elizabeth Scott
Browse files

Remove old tool for Teensy 3.0 bootloader

parent 5ed23d4d
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
#
# Find a Fadecandy device, and ask it to reboot back to the Teensy bootloader.
#
# Micah Elizabeth Scott
# This example code is released into the public domain.
#
import usb.core
dev = usb.core.find(idVendor=0x1d50, idProduct=0x607a)
if not dev:
raise IOError("No Fadecandy interfaces found")
dev.set_configuration()
print "Serial number: %s" % usb.util.get_string(dev, 255, dev.iSerialNumber)
dev.ctrl_transfer(0x40, 1)
print "Rebooted."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment