Adding a Stop Range

You might have noticed that it was difficult to hold the tilt transmitting micro:bit to make the cyber:bot stay still.  We can fix that by adding a stop range to the tilt values. 

The scripts will check if the micro:bit accelerometer’s y-axis is close to zero.  The transmitter micro:bit will display a diamond to indicate that it’s nearly level in the forward/backward direction.  The receiver script will also make the cyber:bot stay still when the diamond indicator is displayed.