UNPKG

pxt-microbit

Version:

micro:bit target for Microsoft MakeCode (PXT)

21 lines (14 loc) 1.19 kB
# Algorithms This unit introduces the four main components that make up a computer and the concept of **input** and **output** as it relates to programming the micro:bit. The coding activity starts with an explanation of pseudocode that leads to working with events and event handlers to program your micro:bit to make faces. The project incorporates all the new learning from this unit as you create your own fidget cube that responds to different inputs. ## Lesson objectives You will... * Understand the functions of the four components that make up a computer. * Understand that the micro:bit takes input, and after processing the input, produces output. * Learn the variety of different types of information the micro:bit takes in as input. * Apply this knowledge by creating a micro:bit program that takes input and produces an output. ## Lesson plan 1. [**Overview**: What is a computer and micro:bit hardware](/courses/csintro/algorithms/overview) 2. [**Activity**: Happy face, sad face](/courses/csintro/algorithms/activity) 3. [**Project**: Fidget cube](/courses/csintro/algorithms/project) ## Related standards [Targeted CSTA standards](/courses/csintro/algorithms/standards)