EasyManua.ls Logo

Adafruit ESP32-S3 - Code Walkthrough

Adafruit ESP32-S3
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
adafruit_ticks.mpy
neopixel.mpy
Ring one will light up in a rainbow swirl. Ring two will begin blinking blue at a 0.5
second interval.
Now, press the button. The rainbow swirl on ring one will reverse direction, and the
blinking on ring two will speed up!
Now release the button. The rainbow swirl on ring one returns to its original direction,
and the blinking on ring two returns to its original speed!
Code Walkthrough
First you import the necessary modules and libraries.
import asyncio
import board
import neopixel
import keypad
from rainbowio import colorwheel
©Adafruit Industries Page 185 of 263

Table of Contents

Related product manuals