TRIOE
Item Navigation
Selected Task
Create Pin Variables (Blockly)
Task 1

Create Pin Variables (Blockly)

Create variables for the LED and button pins using Blockly.

Requirements
  • Use two Set Variable blocks: ledPin = 2 and buttonPin = 6.
  • Use Number blocks for the pin values.
  • Use the variables in later blocks instead of raw numbers.
Task Complete When
  • Both pin numbers are stored in Blockly variables.
Mission Completion Rule
The mission is PASSED when all required tasks are completed, simulation behavior matches the expected input/output response, and the code compiles with no errors.
Score: 10/10
Blockly
Arduino (C++)Blocks
Generate Arduino code from blocks.
Simulation
Run time: 00:00.000
100%
Not Available

Still not available on smaller screens

Please open this on a larger screen.