Quiz Complete, well Done!
digital push button
The joystick provides two axes of movement: horizontal and
.
To plot values on the Microbit's 5x5 grid, what must the values from the analogue inputs be converted to?
What is the range of values that the joystick can output when using `analogRead`?
Map Block
What is the purpose of connecting GND on the XY joystick to GND on the microbit Breakout board?
VRX
GND
To read the joystick input, you typically use the `analogRead` function on the specified
connected to the joystick.
What is the mathematical operation used to convert the analogue input values from 0-1023 to 0-4?
+5V
VRY
What is the range of values provided by the analogue inputs from pin 0 and pin 1 on the Microbit?
What does the X-axis control in an XY joystick?
analogue input