I'm really new to Arduino, so please go easy on me :).
I have Sparkfun Pro Micro (Leonardo compatible board). I got it because I plan to build my own array of controls for use in flight/racing sims.
My starting point is LeoJoy, and I didn't have any trouble getting this up and running. Installed just fine, and I have a programmable HID joystick available in windows.
However, my board was now stuck in joystick mode, with no available COM ports for uploading new sketches.
Resetting the board (by grounding the RST pin), seems to enable the COM port, but very, very briefly. Not enough time to send new sketches.
After about an hour of trying different timing, I finally did upload an empty sketch to the board before it went into HID mode. So I'm good for now, but I'm a bit worried that I'm going to have to repeat this every time I want to make a change to my program.
Am I doing something completely noobish here? Is this the correct way to program a board that has been forced to act as a joystick? Is there a better way?
Perhaps there's some code I can put into my sketch that will delay the change of USB behavior for a few seconds. That way, it will allow me to recompile and submit my sketches after a reset without having to rush the timing.
Thanks for your help. And I'm really sorry if this is a stupid question that serves as a terrible introduction to this forum.