I want the mBot to wait five seconds. If iin the five seconds the on-board button is pressed, add 1 to a specific variable. The variable then triggers a specific program out of 4 to play. Is this possible? If so, can you please help me?
Thanks
- Remiel Tan