digistump / DigistumpArduino

Files to add Digistump support (Digispark, Pro, DigiX) to Arduino 1.6.X (1.6.5+)
934 stars 377 forks source link

Sketch not persistent #92

Open Bobofiero opened 5 years ago

Bobofiero commented 5 years ago

When i uploade a sketch into my attiny85 it work only if the board remain connected to PC: if i put it off and put in the sketch doesn't start. Why this happened??

bratoff commented 4 years ago

Are you waiting long enough (about a minute) for the micronucleus bootloader to time out? Every time you plug the digispark in, the bootloader runs and waits for about a minute for a new upload. After it times out, your sketch should run.

ArminJo commented 4 years ago

The bootloader waits for 6 seconds, not longer! But what is your attiny85 and what bootloader do you use? Consider to use the new version 1.6.8 of Digistump avr core.