Shop Now at Black Friday Prices with the 60-Day Price Guarantee

Up to 50% Off

# How to Use Joysticks to Control a Robot

This #How to shows you how to use joysticks to control programmable robots like mBot, Codey Rocky, and Ranger.

Take the popular game "The Legend of Zelda: Breath of the Wild" as an example. Players use two joysticks to control the protagonist Link. Actions such as movements and camera control are accomplished with the joysticks. Have you ever wondered why game developers set these actions to be done with joysticks instead of buttons? What is the difference between programming joysticks and programming buttons?

Switch
control mBot with a joystickjoystick

In comparison to a button, a joystick can output command signals for movements that are not limited to a single direction. With a joystick, you can control the movement direction and speed.

Let's start!

# Coding Time #

# Coding Time #

Scratch tutorials for mBot

# Bring Me Home ^_^ #

# Bring Me Home ^_^ #
mBot2.jpg__PID:9c2f00ca-353a-4b87-bba8-997bd6ef2d4e

Makeblock mBot2: STEM Education Coding Robot Kit for AI Learning

$137.49
$149.99
4_750x.progressive.webp.webp__PID:706aea88-a24b-40a2-b00f-7ae3daa4bf20

Bluetooth Remote Controller Joystick

$49.99
$59.99