Skip to main content

Lessons and the learning guide

Find a lesson and work through Predict, Run, Read, Change, and Create.

Find a lesson​

Open Lessons. Select the magnifying-glass Search lessons button beside the lesson count. Search by number, name, topic, or program text. Use the result list to open a lesson; Up/Down moves through results and Enter opens the selected result. The search field's Enter key opens the first result.

Use All / Basic / Applications and the category filter beside them to narrow the library. Category counts reflect the current selection. Clear the search or reset the filters if the lesson you want is hidden.

The library has 47 basic lessons and 36 applications, with 203 missions. Select a lesson to load its program. It does not run automatically. Save current changes before replacing them.

All bundled lessons are available without importing teacher-authored files. My lessons adds your own material alongside the built-in library.

Follow the five stages​

Open Learning guide for the selected lesson.

Learning guide with five stage icons and Back and Next controls

Choose a stage at the top or use Back / Next at the bottom. The guide stays available beside both Blocks and Python. Drag its divider to change its width; double-click the divider to restore the default width.

During a run, the Read stage highlights the reading card for the line that is running, in the same color as the line marker in Python. The guide scrolls to keep that card visible, and Stop or Reset clears it. Untimed commands advance a little more slowly so that you can read each line.

The Create stage ends with Save your work, which shows the suggested file name and saves your project. See Save a project.

StageWhat to do
PredictDescribe what you expect before pressing Run
RunExecute the current program and observe the virtual outputs
ReadFollow the commands and compare their order with the blocks
ChangeChange one thing and compare the added and removed lines
CreateUse the idea in a project of your own

The original expected result and answers describe the original example. After you edit, compare your current code with that example rather than assuming the original answer still applies. Opening and closing the guide keeps your work.

Suggested experiments​

LessonExplore
21School Bell melody and computer sound
26Sensor threshold: LED off at A0 = 512, on at 513
27–29Numbers, text, and expressions on a 16×2 LCD
30–32Virtual temperature, humidity, and temperature-based text
34Motor direction and stopping output
51–53Individual and grouped bus-servo targets
61Two-sensor line tracing and its limitations

For lesson 30, run the program and adjust the virtual temperature slider. Compare what the diagram and larger LCD display show. Then change one condition or value and predict the new result before running again.

Keep the experiment meaningful​

Write down the input, the program change, and the result. A program reads a sensor when its read command executes; changing an input does not replace that read step. Some examples loop and read repeatedly, while others read only once.

Use Step when you need to see command order. For a physical exercise, follow Controller board and the component guide first. Simulated results are not measurements from attached equipment.