Sending CHAR repeteadly when the button is pressed (hold) to BLE

May I kindly request your expertise on how to repeatedly send continuous characters when a button is pressed or held down, and then cease sending when the button is released? Your guidance would be greatly appreciated.

Thank you.

When button. PressDown, start a clock. Timer event. In the event, send your char.

When button. PressUp, stop the clock.Timer event.

1 Like

Hello, Sir. May I see how to do it with the blocks? I'm new user of MIT APP INVENTOR.

If you post an .aia export of a project with

  • a Clock
  • a Button
  • the current BLE extension

I can show you the blocks.