Need help on a delay and 3x repeat for Arduino Bluetooth

Hello, I have my arduino app bluetooth firing but i have one relay that i need my MIT App inventor to press the button 3 times with a delay in between each press without having to tap the button 3 times. This same code has an on and off for the relay/arduino with one press of the AI2 app. Can anyone provide any guidance?
Thanks

Your app's timing technique could follow the timing technique of this Morse code player:

Use your own coding instead of Morse.
Send BlueTooth messages instead of vibrating the phone.

1 Like