Pages: [1]   Go Down
Author Topic: Saving Sketches  (Read 284 times)
0 Members and 1 Guest are viewing this topic.
Coppell, Texas
Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why does the IDE prompt me to save my sketch with a different name everytime I make a change
to the sketch and click "save"?  It tells me, "some files are 'read-only' and to rename the sketch". 
The previously saved sketch is NOT flagged by the OS as 'read-only' -- this is very annoying to have
to rename the sketch whenever I modify/tweak it... ???

 smiley-confuse
Logged

Offline Offline
Edison Member
*
Karma: 19
Posts: 1041
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It sounds like you're saving the sketch in an "examples" directory rather than in your sketchbook or other places.

It's a protection mechanism so you don't accidentally overwrite, eg, the "Blink" example when modifying it to blink once every five seconds.
Logged

East Anglia (UK)
Offline Offline
Faraday Member
**
Karma: 118
Posts: 4331
May all of your blinks be without delay()
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The IDE does not do that to me.
Which folder are you saving your sketches to ?
Logged

Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Coppell, Texas
Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good question regarding where I was saving the file.  It was started in the libraries folder...  I moved it
from the libraries folder to a separate folder in the IDE environment and it saves without the
prompt.... smiley-red  problem solved.... thank you!!
Logged

Pages: [1]   Go Up
Jump to: