easyvr 3 + push button

Hello guys. Actually I have a problem with easyvr and push button. My question is how to combine pushbutton’s coding with easyvr 3? This project have 5 options which is:

  1. Eat
  2. Drink
  3. Pray
  4. Toilet
  5. Sick

So I have plan to choose this option by using pushbutton or voice recognition (easyvr 3). But the problem is when i put pushbutton’s coding with easyvr, the pushbutton not function. Anyone can help me please?

lcdbutton.ino (8.47 KB)

But the problem is when i put pushbutton's coding with easyvr, the pushbutton not function.

The problem is that you haven't told us how the switch is wired, or what the code actually does, or how that differs from what you want it to do.