gatheround
Well-known member
Hey all,
Is there an easy way to change the name that the teensy shows up as when plugged in? Instead of saying "USB Serial" or "Teensy Flight Sim Controls" I'd like it to say something else for my project.
I did find the file /hardware/teensy/cores/teensy3/usb_desc.h where this is defined:
Changing this does work, but I don't want to edit this file. Is there anything I can insert into my code that will change this instead?
Is there an easy way to change the name that the teensy shows up as when plugged in? Instead of saying "USB Serial" or "Teensy Flight Sim Controls" I'd like it to say something else for my project.
I did find the file /hardware/teensy/cores/teensy3/usb_desc.h where this is defined:
Code:
#define PRODUCT_NAME {'U','S','B',' ','S','e','r','i','a','l'}
#define PRODUCT_NAME_LEN 10
Changing this does work, but I don't want to edit this file. Is there anything I can insert into my code that will change this instead?