Go Down

Topic: stop the blink sketch? (Read 7962 times) previous topic - next topic

Lazer57

just got the Arduino Diecimila today. played around with the blink program but can't find any information on how to remove the sketch. i couldn't find info on auto format, didn't want to cause more of a mess for my newbie self. how do i get rid of the blink sketch so the blinking stops?

mikalhart

Upload this sketch:

Code: [Select]
void setup(){}
void loop(){}


:)

Mikal

Lazer57

Thanks, that stopped it. It did say "couldn't determine program size", but i'm guessing thats fine since its basically an empty program.

mikalhart

I was being a little bit cheeky with my response, but there really is no notion of "formatting" or "erasing" the chip, at least not in the Arduino IDE.

I get that "couldn't determine program size" message occasionally, but I never know why.  For me, that "empty" program is 622 bytes in size.

Mikal

gnu_linux

#4
Oct 24, 2008, 12:18 pm Last Edit: Oct 24, 2008, 12:21 pm by gnu_linux Reason: 1
I get that message all the time but it doesn't seem to be causing any problems

:)

Grumpy_Mike

I usually get that message the first time I upload in a session and it's OK after that.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy