atmegaduck/atmega_duck.inowith the Arduino IDE
WiFi Duck AVRsection, select your board. For example,
Sparkfun Pro Micro.
- Connect the Atmega32u4 board via USB and select its port under
- (Optional: Under
Tools, you can enable the LED and set its pin. You can also change the USB ID to make it appear as a certain type of keyboard.)
- Press Upload
If you flashed your Atmega32u4 board with the wrong bootloader, it would no longer appear in the port selection after you connect it.
To solve this, you need to:
- Connect the reset pin
GND. Preferably with a jumper wire because you need to be able to disconnect it quickly.
- Open a sketch (
atmegaduck/atmega_duck.inoor an empty sketch) Make sure to have the correct board selected under
- Connect the board with the wire still connected.
Uploadand as soon as you see
Uploading..., disconnect the wire.
Now it should flash the sketch together with the correct bootloader.