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 ...
This is similar in syntax to the original MakeCode library. However, there are some differences due to language differences and some thing I wanted to change for consistency. Original Birdbrain ...