Hi @Orma115 — welcome to the forum1 Your basic idea seems pretty reasonable.
It may be easiest to test your work using the “Multi Editor”: https://makecode.com/multi# . Below are two partial example projects to help you test your idea. (I’ve intentionally only shown how to send radio messages and am only using a slight variation on your existing work). I suggest you:
- Open Project One and click the “Edit” button: https://makecode.microbit.org/_d4MgoRUp5a0D
- Open Project Two and click the “Edit” button: https://makecode.microbit.org/_39wPP7VXzEzq
- Close both and open the Multi Editor: https://makecode.com/multi#
- Select Project One in the left pane of the Multi Editor and Project Two in the right pane.
- Tinker/test both programs until you have the type of communication you want.
- Then try to integrate the hardware that will operate the vibration. There are a variety of ways to connect haptic feedback / vibration motors. Here’s one example: https://learn-en.readthedocs.io/en/latest/microbitOctopus/output/octopus_ef04074.html
- I’d suggest starting with an empty project and doing just the vibration work (in response to a button being pressed) until you have it behaving the way you want. Then add the vibration work into the radio work.
Good luck with the project!
Bill