I have an ATMega32u4.
My question is about the bootloader section. How does this device pretend to be a com port while connected to USB? What makes the computer think it is a com port and how can I implement this myself?
When I connect my device to a PC, it shows up as a keyboard on a Windows machine that is connected to COM5 while the physical layer of it happens via USB.
I have a simple blink program flashed on to it, so where does this "keyboard" device come from?
I went to Arduino IDE and compiled a simple uart sketch that loops and sends a string via UART which is again not a real UART but physicaly it happens over USB.
Could someone explain this to me? I can't get my head around it.