In this recipe, we will learn how to turn the pin 13 LED on and off. This is the simplest LED available on the board as it has only one color, and interacting with it in Python is also very straightforward. For these reasons, the pin 13 LED is a good starting point.
Turning on the pin 13 LED
Getting ready
You will need access to the REPL on the Circuit Playground Express to run the code presented in this recipe.
How to do it...
To do this, perform the following steps:
- Run the following lines of code in the REPL:
>>> from adafruit_circuitplayground.express import...