name.c rewrites other Teensy MIDI device name strings???

Status
Not open for further replies.
Yeah... of course it didn't save the name to the board and it's since resolved with reboot.

Does each Teensy have a unique Product ID in the MIDI Adapter Device Descriptor?


edit...I mean each type... not each individual board.
 
Last edited:
Yes, each USB type has a unique product ID. You can see the in usb_desc.h.

However, some of the newest types added by 1.30 were not unique. This is fixed in the latest 1.31-beta3. Details are in usb_desc.h.
 
I just ran the name example on my Kickstarter T3.5 and it worked fine once I reset the USB type in the compiler to MIDI (I had been debugging the program with MIDI + SERIAL previously, and had already manually changed the USB_MIDI+SERIAL entry in usb_desc.h to my desired name)
Might be useful to mention this in the explanation text in name.c, as I suspect some people might start off with MIDI+SERIAL during the development phase of their project.
Thanks for this- its easier than editing usb-desc.h and then remembering to revert to the default usb_desc when starting the next project.
 
Status
Not open for further replies.
Back
Top