In this lesson, we will will look at a Crumble microcontroller. We will connect it to a computer and program it to control an LED.
Unit Overview: Selection In Physical Computing
In this lesson, we will connect at least two output devices to a Crumble microcontroller. We will write programs to control those outputs. Our programs will include loops.
In this lesson, we will examine different conditions and identify when they are true or false. The we will write statements using 'do until'. Lastly, we will connect a switch to a Crumble microcontroller and write a program using that input as a condition.
In this lesson, we will identify conditions and selection. We will also write a program which includes selection.
In this lesson, we will identify how selection might be used in 'real-life' examples. We will also design and build a model that we can control with a Crumble microcontroller.
In this lesson, we will write an algorithm for controlling our models. We will then turn that algorithm into code. Lastly, we will test and debug our program.