EasyManua.ls Logo

Artec Studuino - Using Push-buttons and Sensors; Connecting an LED for Sensor Feedback; Push-button Operation and Programming

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...
27
Enter the values shown below into the
blocks.
These values will be used for the notes.
Drag
from the Control Palette and connect it to the top of the blocks you made
in
. Now click on the ▼ in the block and choose new.... Name the function init_code.
And now you’ve made a function that will store the melody for Twinkle, Twinkle, Little Star to a list. Any
blocks connected to the
block will run when the block runs. This program
will make
run when runs, storing the codes to the list.
This dialog box lets you
name the function
Drag and drop
Click
Select
Name it "init_code"
Click

Related product manuals