Exercises
Try these exercises to get to know Pico more:
- Adjust the timings in the blink code. You should be able to get the light to blink quicker or slower by changing the number of seconds in the
sleep
statements. - Could you make the light blink in an irregular pattern? You could use a series of timings. Digging a bit at CircuitPython, you could use a list of values and loop through them.
- Explore using the REPL for other Python code.
- We are going to need header pins on the motor board as well. Using the same techniques as covered in the section Soldering headers to Raspberry Pi Pico, solder pins into the motor driver board.