Professional Documents
Culture Documents
In This Activity You Will Learn How To Correctly Create Code To Use A Joystick To Control LEDS
In This Activity You Will Learn How To Correctly Create Code To Use A Joystick To Control LEDS
Project Joystick
Throughline: How can software and programming help us communicate with hardware?
Write your answer here:
3. Step 3: Choose the file folder you want to save your Mblock
file to and then click on “Save”
4th Grade Robotics Intro to Sysnthesis
Project Joystick
4th Grade Robotics Intro to Sysnthesis
Project Joystick
4th Grade Robotics Intro to Sysnthesis
Project Joystick
This means that Arduino Uno can read a value from the
analog pin in a range from 0-1023. In the case below we are
telling Arduino that if it sees a value from the variable of
greater than 800, to set the output of digital pin 11, which is
connected to LED 2, to High output.
If this is not the case, then the output is set to Low. This
means that at a low setting there will not be any output to
the LED and it will not light up.