help me


hello
i ask if me aidee
i made several attempts not result
to turn led l1 must successively:
- press p1
- release p1
- press again p1
- press p2 (without releasing p1)
- release p2
- release p1. l1 should illuminate 3 seconds.

the execution speed of sequence not important. other manipulation considered false. must followed:
- waiting until no further key pressed
- waiting additional second.
then program should resume detection.

okay. can that. don't use delay() because during delay() no button activity can detected.

learn blink without delay can watch button , timer @ same time.
also learn button debounce.
search these , read able ask better questions, save typing , time.


Arduino Forum > Using Arduino > Project Guidance > help me


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support