Item Navigation
Selected Task
Create Pin Variables (Block Codes)
Task 1
Create Pin Variables (Block Codes)
Create variables for the LED and button pins using Block Codes.
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 Block Codes 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: 0/10
Block Codes
Arduino (C++)Blocks
Generate Arduino code from blocks.
Simulation
Run time: 00:00.000
100%
Trioe Simulation
Welcome to the Trioe Simulation website
Trioe Simulation lets you build, wire, and test Arduino projects in one place. You can start a guided Block Codes walkthrough for Tasks 1-5 now, continue your current lab, or explore demos.
Feature
Block Codes visual programming
Feature
Interactive wiring canvas
Feature
Code compile and simulation flow
Not Available
Still not available on smaller screens
Please open this on a larger screen.