Pages: [1]   Go Down
Author Topic: stop the blink sketch?  (Read 6402 times)
0 Members and 2 Guests are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Austin, TX USA
Offline Offline
God Member
*****
Karma: 5
Posts: 997
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Upload this sketch:

Code:
void setup(){}
void loop(){}

smiley

Mikal
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Austin, TX USA
Offline Offline
God Member
*****
Karma: 5
Posts: 997
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 430
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I get that message all the time but it doesn't seem to be causing any problems

smiley
« Last Edit: October 24, 2008, 05:21:38 am by gnu_linux » Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 631
Posts: 34493
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: