Circuit Playground Express: Part 1
Set up the Circuit Playground Express and light up some colors using the NeoPixels.
StartKey Concepts
Review core concepts you need to learn to master this subject
Python function default return value
Python function default return value
# Function returning None
def my_function(): pass
print(my_function())
#Output
None
If we do not not specify a return value for a Python function, it returns None
. This is the default behaviour.
Circuit Playground: Part 1
Lesson 1 of 1
- 1
Circuit Playground Express is the perfect …
- 2Here are some of the great goodies baked into each Circuit Playground Express. (No need to memorize these.) LED Lights: - 10 x NeoPixels, able to display any color. - Green “On” LED, to show i…
- 3NeoPixels are a revolutionary and ultra-popular way to add lights and color to your project. These full-colo…
- 4So now we know how to turn all the lights into a single color, but how do we turn individual lights on? Circuit Playground Express has 10 built-in NeoPixels, numbered counterclockwise: - cpx.pix…
- 5The Circuit Playground Express has a slide switch on it, above the battery connector. The slide switch doesn’t control the power of the board. It is a switch that returns True or False depending …
- 6The Circuit Playground Express has two buttons. Button A is on the left and button B is on the right. We can use these buttons to update our board’s status when pressed. ![Buttons](https://content…
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory