Open both programs in split view in the MakeCode for micro:bit editor by copying and pasting this link into the address your browser: https://makecode.microbit.org ...
This is a program that lets you send events (with optional integer arguments). You can call the events what you want, but the names must match on the micro:bit end ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results