| ||
|
Shopping Cart
|
| Home | MP3 Player | 8051 Tools | All Projects | PJRC Store | Site Map |
|
You are here:
Teensy
| Search PJRC |
|
Step #4: The HID Listen ProgramIn the previous step you compiled and loaded blinky.hex onto your Teensy board. While it's blinking Morse Code, blinky also sends characters by calling usb_debug_putchar(), which you can display with the HID Listen program. Other examples use these same functions, so HID Listen is a valuable tool for "seeing" what your code is doing.If you didn't compile blinky, you can also find a copy of blinky.hex in the source code package here.
Download HID Listen
Running HID ListenHID Listen is a command line program, so you need to run it from the command line. A GUI-based version is planned, but for now the only option is this simple command line version.Macintosh OS X 10.5Just run the hid_listen.mac program in Terminal. You may need to give the file execute permission with the "chmod" command before you can run it.
LinuxOn Ubuntu Linux, the /dev/hidraw device files are not readable by default for normal users. You could create a custom udev rule, or simply run hid_listen with sudo.
Windows XP & VistaOn Windows, simply double click the hid_listen.exe program. Windows will automatically launch the command prompt and run hid_listen in it.
|