PDA

View Full Version : Using Teensy 2.0 as a HID - Set a serial number or Product?



George
12-14-2012, 02:49 AM
[SOLVED/Answered] see third post

Is there a way to set the serial number returned or the product_string? It would be nice to brand the final product to make it unique.

George
12-14-2012, 03:14 AM
Ok so I found the zip file for the HID_RAW.zip stuff. usb_rawhid.* Where would I put this code, and/or how would I get changes made to these files, loaded up to the Teensy as part of the loading a sketch process?

George
12-14-2012, 03:33 AM
OK found it. I needed to add my info to the /Contents/Resources/Java/Hardware/Teensy/cores/usb_rawhid/usb_private.h file.