user28017: I'm developing a keyboard emulator using Digispark Pro (based on Arduino) which uses USB port as the keyboard interface. I haven't programmed it yet because I doubt how should I recognize the chip to Arduino IDE again using USB port after programming the board.
So my question is, how to reprogram Arduino if USB port is already recognized as keyboard HID?

user3793: https://digistump.com/wiki/digispark/tutorials/connectingpro
It is suggested that in order to upload using the Arduino IDE you must:

Add the repository http://digistump.com/package_digistump_index.json in Preferences > Additional Boards Manager URLs
Install Digistump from the boards manager.
select the DigiSpark in Tools > Boards.
Then this is perhaps the important bit "You do not need to plug in your Digispark Pro before invoking upload"   So hit upload before connecting the Digispark.
Then connect the Digispark when prompted by the Arduino IDE.


28017: <p>I'm developing a keyboard emulator using Digispark Pro (based on Arduino) which uses USB port as the keyboard interface. I haven't programmed it yet because I doubt how should I recognize the chip to Arduino IDE again using USB port after programming the board.</p>

<p>So my question is, how to reprogram Arduino if USB port is already recognized as keyboard HID?</p>
 3793: <p><a href="https://digistump.com/wiki/digispark/tutorials/connectingpro" rel="nofollow noreferrer">https://digistump.com/wiki/digispark/tutorials/connectingpro</a>
It is suggested that in order to upload using the Arduino IDE you must:</p>

<ul>
<li><p>Add the repository <code>http://digistump.com/package_digistump_index.json</code> in Preferences > Additional Boards Manager URLs</p></li>
<li><p>Install Digistump from the boards manager.</p></li>
<li><p>select the DigiSpark in Tools > Boards.</p></li>
<li><p>Then this is perhaps the important bit "<strong>You do not need to plug in your Digispark Pro before invoking upload</strong>"   So hit upload before connecting the Digispark.</p></li>
<li><p>Then connect the Digispark when prompted by the Arduino IDE.</p></li>
</ul>
