更新时间:2021-06-24 14:29:51
coverpage
Title Page
Copyright and Credits
MicroPython Cookbook
About Packt
Why subscribe?
Packt.com
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Get in touch
Reviews
Getting started with MicroPython
What is MicroPython?
What is a microcontroller?
What is CircuitPython?
What is the Circuit Playground Express?
Where to buy
References
Flashing the microcontroller firmware
How to do it...
How it works...
There's more...
Executing your first program
Using screen to access the REPL
Using Mu to access the REPL
Executing commands in the REPL
Using the auto-reload feature
Updating the CircuitPython Library
Controlling LEDs
The Adafruit Circuit Playground Express layout
Turning on the pin 13 LED
Setting the brightness of the NeoPixel
Controlling the color of a single NeoPixel
Displaying an LED color using the RGB and hex code