AlexRH
Member
Hello,
I have managed to select 12MBit speed of the serial USB with editing core file usb.c
My question, is it possible to do the same from the Arduino sketch? I would like to set USB serial speed during sketch compile instead of editing teesyduino core file each time. If yes, can you please give me the code example?
I have managed to select 12MBit speed of the serial USB with editing core file usb.c
Code:
USB1_PORTSC1 |= USB_PORTSC1_PFSC; // force 12 Mbit/sec
My question, is it possible to do the same from the Arduino sketch? I would like to set USB serial speed during sketch compile instead of editing teesyduino core file each time. If yes, can you please give me the code example?