Interrupts


i know how trigger interrupt function through external input, can have software event trigger it? thinking of having arduino wait 5 seconds user input, continue.

after isr completes. returns executing - waiting user input. so, don't think you.

how user enter input? there ways use millis() determine how long have been waiting, , stop waiting after while.

of course, begs question of why waiting user input. program should execute loop endlessly, noticing @ point "hey, there user input".


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Interrupts


arduino

Comments