Go Down

Topic: led flash (Read 329 times) previous topic - next topic

wv019163

hi friends,
i will flashing a LED>3 short times on (for exampla 50ms on/50ms of, this three times and a pause for 2 seconds and starting over
ani help for the code and the circuit
thanks in advance

slipstick

Start with the Blink example from the IDE and modify it to do exactly what you want.

Steve

GrooveFlotilla

Better still, go straight to the blink without delay example.
Some people are like Slinkies.

Not really good for anything, but they bring a smile to your face when pushed down the stairs.

INTP

write high or low
delay 50ms
write low or high
delay 50ms
write high or low
delay 50ms
write low or high
delay 50ms
write high or low
delay 50ms
write low or high
delay 2000


circuit:
SomewhereOnTheArduino - LED - Resistor - ElsewhereOnTheArduino

INTP

Better still, go straight to the blink without delay example.
Know your audience. Don't give trig problems when they're still working on drawing triangles.

GrooveFlotilla

Know your audience - leave them wanting more
Some people are like Slinkies.

Not really good for anything, but they bring a smile to your face when pushed down the stairs.

Go Up