error: expected unqualified-id before 'if'

spycatcher2k:
DON'T delete posts, even if it's an obvious mistake, others can learn, even if it's how to diagnose issues.
:slight_smile:

Yeah that's true!

By any chance do you know how to make a keyboard start/stop button?

All I want is when the button is HIGH keyboard.begin. When it is LOW stop the keyboard working. Thanks!