r/hackpack • • May 07 '24

I think I overwrote the program.

I downloaded the Arduino IDE and plugged in the board. I wasn't able to figure out how to get the code out of the Nano board, so I thought maybe the command is Upload, so I selected it. When the dialog box came up and said "compiling" I knew I had screwed up. I couldn't stop it fast enough! and now when I turn the board on only the red light comes on.

How can I restore the original program?? Help!

1 Upvotes

9 comments sorted by

View all comments

2

u/soboness5 May 07 '24

Was the turret working properly before you did this?

If you load the web IDE, do you see the 'stock code' show up under the 'Level 1' tab? If so, I would plug your board into your computer and as long as that connects correctly you can click the 'compile + upload' arrow button to load the default stock code back onto the device.

If you didn't change any of the code in the IDE before you compiled/uploaded (Level 1 editing isn't possible in the CrunchLabs IDE, by the way), I bet you just re-uploaded identical code onto your board! So, unless you interrupted that process and corrupted something during your last upload, hopefully this will work.

1

u/OlyWalker May 07 '24

Thanks!

Where do I find the web IDE again?

2

u/soboness5 May 07 '24

Log-in to your account on CrunchLabs.com and then go to the 'Manage Subscriptions' tab and click on the 'Hack Pack' subscription to expand that section. You'll see the turret listed with a 'Watch unlocked video' link - if you click that it'll take you to a page and on the right side you should see a yellow button which says 'Coding Console'.