skip navigational linksPJRC
Shopping Cart Checkout Shipping Cost Download Website
Home MP3 Player 8051 Tools All Projects PJRC Store Site Map
You are here: Teensy Getting Started 4: HID Listen Search PJRC

PJRC Store
Teensy, $18
Teensy Pins, $21
Teensy++, $24
Teensy++ Pins, $27
USB Cable, $4
Teensy
Main Page
Getting Started
How-To Tips
Code Library
Projects
Teensyduino
Reference

Step #4: The HID Listen Program

In 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

No driver installation is required. All major operating systems have the USB HID drivers built in.

Running HID Listen

HID 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.5

Just 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.


Linux

On 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 & Vista

On Windows, simply double click the hid_listen.exe program. Windows will automatically launch the command prompt and run hid_listen in it.