I would like to know the steps on how to capture the role of an RC vehicle, before it is about to roll on its side. The micro:bit can be placed on the RC vehicle on the roll axis.
Micro:bit will be placed on the RC truck, Roll axis . Then A switch will Capture 0 value of the roll value. Then the RC truck will be tilted at 90° or whatever the role value is, before it tips over.
Here is what I have on my micro:bit, to capture the data when the air switch is pressed. And when the B button is pressed down, it captures the angle of the roll.
what I don’t know is how to include the buzzer so when it gets to the point of the data captured on the B switch, it will start buzzing.
There is a YouTube example.