How can I make blink/flash buttons in a series?
I'm designing a game (for my college class) that is similar to Simon, where the user must correctly push the buttons in the same order that they were flashed by the computer. All my buttons blink simultaneously with the following code:
blinkEffect(btn1);
blinkEffect(btn2);
blinkEffect(btn3);
I have tried using wait(500) inside of a try/catch, but the emulator didn't like it. It produced an error that the program was stopping.
Any advice is much appreciated.