Is there a way to make a listener for a key press to begin a loop?
Example: I press the Tab key on my keyboard and the programmed loop begins running.
Essentially creating a keyboard hotkey.
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It only takes a minute to sign up.Sign up to join this community
The answer is yes and no.
Only the Arduino and its IDE, no.
The way I found is to use Processing to wait until it detects a hotkey, then send a serial message to your Arduino. If you tune in the right COM port, this should work.