Blockly Arduino: In/Out
State of Pin: Current on or off
Set Pin on Arduino to On or Off
Read Value from Arduino Pin On
or Off
Send voltage value to Analog Pin
Read variable voltage from Analog
Pin (0 to 1023)
Print Text to Serial Output
On or Off for LED light on Arduino
(Also Pin 13)
Blockly Arduino: Servo
Sends Servo Signal to Pin.
Degree: Value of Servo Signal
(0 Left, 90 0ff, 180 is right)
Delay: How many seconds to send
the signal)
Sends Signal to Pin:
Degree: Value of Servo Signal
(0 Left, 90 Off, 180 is right)
Reads current value from servo
Pin of Position in Fixed Servo.
Blockly Arduino: Control
Delay: Pauses execution or flow of
the program in milliseconds. 1000
millisends = 1 second.
Conditional Statement. Measures
condition and executes code in
block.
For Loop: Will execute code in
block in reference to index
variable.
Blockly Arduino: Math
Map Value: Not Used
Set a numerical Value
Adds (Subtracts, Multiplies,
Divides) two values. Returns
result.
Blockly Arduino: Logic
Compares two values. Returns
true or false.
Boolean Statements (AND, OR,
NOT . . .) Returns True or False
NOT block
Returns no value.
Blockly Arduino: Tone
Plays a Pitch on PIN#
Delay: Duration of
Pitch.
Plays a Pitch on PIN#
without Delay.
Blockly Arduino: Variables
Create a Variable for
numerical or text value.
Sets the value of a
created variable.
Returns the current
value of the variable.
Blockly Arduino: Procedures
Define a procedure (function)
without a return value.
Define a procedure (function)
with a return value.
Compares the return value of a
function to a value. Returns True
or false.
‘Do’ blocks run defined functions.