Go Down

Topic: Led &  (Read 601 times) previous topic - next topic

GastaniFrinzi


Hello everyone ....
I have a problem with Arduino, or better:
I have to leave a LED (with a button) that will stay on for 20 minutes ... but the last 5 minutes must flash ...
Can anyone write the code and explain how to do it?

slipstick

Can you switch a LED on ? Can you make a LED flash on and off using the Blink without Delay example sketch ? Then you're very nearly there. Now you just need to work out how to do timing of things. Look at millis() for a place to start, there are plenty of examples of how to use that including Blink without Delay.

When you've written your first attempt post it here and let us know what works and what doesn't then we can help you fix it.

Steve

GastaniFrinzi

I have no problems, I'm not caps

AWOL

I'm not caps
Well, deep down, you know, who of us is?

GastaniFrinzi

AHAHAHAHAH

I mean I do not know how to do it

slipstick

If you want someone to just write a program for you then you're in the wrong place. Try in the Gigs and Collaborations forum and don't forget to say how much you're willing to pay them.

Steve

larryd

Quote
Can anyone write the code and explain how to do it?
We can help you do this.
Give it a try, post your results.


.
No technical PMs.
If you are asked a question, please respond with an answer.
If you are asked for more information, please supply it.
If you need clarification, ask for help.

Go Up