Hello.
I am trying to create a USB combination, which allows me with a single device to have a Keyboard, Mouse, Xbox Control and the Serial port to make Debug.
I've been looking at the source code files, usb_serial.h, usb_desc.c, usb_desc.h and WProgram.h
I have managed to modify them to compile the descriptors of the four devices into one.
But I have a question, I find that the way to define the Serial port is different, depending on the type of USB port chosen in the Arduino menu.
If it was chosen from the examples, one that had Serial port, then it is defined as CDC_DATA_INTERFACE and if it did not have it, then it is defined as SEREMU_INTERFACE.
What's the difference between one and other ?. With both the Debug is enabled using the Serial?
In my application I just need to use the Serial to do Debug, nothing more.
I am trying to create a USB combination, which allows me with a single device to have a Keyboard, Mouse, Xbox Control and the Serial port to make Debug.
I've been looking at the source code files, usb_serial.h, usb_desc.c, usb_desc.h and WProgram.h
I have managed to modify them to compile the descriptors of the four devices into one.
But I have a question, I find that the way to define the Serial port is different, depending on the type of USB port chosen in the Arduino menu.
If it was chosen from the examples, one that had Serial port, then it is defined as CDC_DATA_INTERFACE and if it did not have it, then it is defined as SEREMU_INTERFACE.
What's the difference between one and other ?. With both the Debug is enabled using the Serial?
In my application I just need to use the Serial to do Debug, nothing more.