EasyManua.ls Logo

Artec Studuino - Changing the Speed of a Blink

Artec Studuino
66 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
14
3.6. Changing the Speed of a Blink
Now we’re going to control how fast your LED blinks based on the program from 3.5. Setting a Number of
Blinks. While you can change the speed of an LED by changing the value in the block, let’s
try using a variable to change multiple values at once.
Open the Command Palette and click the Variables button. Now click Make a variable. You’ll be
asked for a variable name. Name your variable time and click OK.
You’ll now see blocks that let you control the time variable
Click here
Name it "time"
Click
Click
This dialog box
lets you name the
variable
These blocks will
appear
automatically

Related product manuals