Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
060e949e
Commit
060e949e
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
Remove old tool for Teensy 3.0 bootloader
parent
5ed23d4d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/teensy-bootloader-mode.py
+0
-18
0 additions, 18 deletions
tools/teensy-bootloader-mode.py
with
0 additions
and
18 deletions
tools/teensy-bootloader-mode.py
deleted
100755 → 0
+
0
−
18
View file @
5ed23d4d
#!/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.
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment