Hi,
I'm new to the forum and not sure if this is the right place to ask this question - sorry if it's not.
I have uploaded the following sketch to a LeoStick(Leonardo):
Unfortunately the sketch now takes control of my computer and I can't upload a new sketch as I can't control the keyboard or mouse while the Leostick is plugged in.
When I use the Arduino Create (web editor), with the Leostick plugged it, the compile/upload button (the one that looks like an arrow) is unable to be pressed as it is 'greyed out'.
In effect the sketch above locks me out of the control of my computer.
Is there a way to erase a sketch from a Leonardo/Leostick without needing to have it plugged in?
Press the reset button on the Leostick twice quickly. You should now see the LED pulsing to indicate it's in bootloader mode and it should not be emulating keystrokes.
From the port menu, select the port of the Leostick. While in bootloader mode, the port of the Leostick may be different than the one while the sketch is running so don't assume you already have the correct port selected.
Thanks pert for the reply I was very excited when you replied and after 2 and a half hours of doing other stuff i get back the computer and upload Blink! (To my LeoStick!) Thank you so very much!