Go Down

Topic: what does RESET actually do (Read 536 times) previous topic - next topic

mmcp42

ok background
I have my own 'duino clone
all seems to work fine
loaded blink sketch
LED blinks
so far so good

the sketch starts by setting the LED on for 1 second in setup()
then sends SOS in morse code
ok it's silly but that isn't the question

when I hit the reset button (which hold RESET signal low)
I get a couple of flashes on the LED, then 1 second on, then morse code sequence starts

is this expected behaviour?

(well I didn't expect it!)
there are only 10 types of people
them that understands binary
and them that doesn't

Coding Badly

Maybe.  If the processor has a bootloader installed.

mmcp42

it thinks it's a UNO - does that make a difference?

I have seen that various boot loaders are available - how do you tell which one you have?
there are only 10 types of people
them that understands binary
and them that doesn't

spycatcher2k

Hi Mike - Yip, if you got a boot-loaded chip - Its just a 'Hello, I'm working' flash from the boot-loader - After a second of not getting relevant data on the UART/SERIAL port at runs the installed sketch.

Drew
Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

mmcp42

phew - that's a relief!

it looked like it was running the "S" part of my morse code sketch - bizarre I thought

now I know - cheers Drew & CodingBadly
there are only 10 types of people
them that understands binary
and them that doesn't

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