Pages: [1]   Go Down
Author Topic: Factory Default Sketch  (Read 918 times)
0 Members and 1 Guest are viewing this topic.
New Zealand
Offline Offline
Newbie
*
Karma: 1
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can someone point me to where I can download the factory default sketch that comes preloaded on the Arduino 2009 boards? It's the one where the flashing on pin 13 speeds up like a drumroll.

I'd like to make some tutorial videos, but would like to start the video with a 'brand new' board.

Thanks.
Logged

Arduino Internet / Web Control with Teleduino
https://www.teleduino.org

Melbourne, Australia
Offline Offline
Full Member
***
Karma: 0
Posts: 219
Have you tried turning it off and on again?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not give it a go yourself?

We would be more than happy to help you if you make some code that doesn't work and posted it up here.

Just look into delay and digital write.
Logged

New Zealand
Offline Offline
Newbie
*
Karma: 1
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I could build it myself, but figured I'd just download it if it were available as I wanted to demonstrate how the boards operate when new.

Thanks for the advice though  smiley
Logged

Arduino Internet / Web Control with Teleduino
https://www.teleduino.org

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
flashing on pin 13 speeds up like a drumroll.
I thought it was just the blink sketch.

Just modify the blink sketch to include a delay on a variable and a line that decreases the delay each loop.

Mowcius
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17259
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Can someone point me to where I can download the factory default sketch that comes preloaded on the Arduino 2009 boards? It's the one where the flashing on pin 13 speeds up like a drumroll.

Well I've never owned a 'real' Arduino so I have no idea what 'default' sketch may have come preloaded. All the clone boards and AVR chips I've bought have come preloaded with the simple blink program (one second on one second off) sketch that is in the ARduino IDE files/examples/digital folder.

Maybe someone here can confirm that there is some standard sketch loaded on the 'real' Arduino boards these days?

Lefty

Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Maybe someone here can confirm that there is some standard sketch loaded on the 'real' Arduino boards these days?
Well my 'older' arduino duemilanove (the one still with the reset pads) came with the simple blink sketch on and so did my arduino pro from sparkfun.

Maybe that's changed now though.

Mowcius
Logged

Nowhere
Offline Offline
God Member
*****
Karma: 3
Posts: 852
|-\ |\|\
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah, my arduinos all had blink on them, but my friend's new arduino had a weird blinking.
Definitely a pattern, but not a simple on-delay-off-delay pattern
Logged

Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

Southern Ontario
Offline Offline
Sr. Member
****
Karma: 2
Posts: 279
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is what my Atmega 328's came with from SparkFun:

Logged

Nowhere
Offline Offline
God Member
*****
Karma: 3
Posts: 852
|-\ |\|\
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hmm, that's different from my friend's.

His was (as close as I can remember)

Blink twice , once per second
Blink 3 times, once every half second.
Logged

Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

Pages: [1]   Go Up
Jump to: