If the LED starts blinking really quickly, it means the filesystem is full! You'll need to
get your temperature data and delete the temperature log file to begin again.
That's all there is to logging the temperature using CircuitPython!
Recovering a Read-Only Filesystem
In the event that you make your CIRCUITPY drive read-only to your computer, and for
some reason, it doesn't easily switch back to writable, there are a couple of things
you can do to recover the filesystem.
Even when the CIRCUITPY drive is read-only to your computer, you can still access
the serial console and REPL. If you connect to the serial console and enter the REPL,
you can run either of the following two sets of commands at the
not need to run both.
First, you can rename your boot.py file to something other than boot.py.
import os
os.rename("boot.py", "something_else.py")
Alternatively, you can remove the boot.py file altogether.
import os
os.remove("boot.py")
Then, restart the board by either hitting the reset button or unplugging USB and
plugging it back in. CIRCUITPY should show up on your computer as usual, but now it
should be writable by your computer.
Capacitive Touch
Your microcontroller board has capacitive touch capabilities on multiple pins. The
CircuitPython
touchio
enabling you to use it as an input.
This section first covers using the
learn how to setup the pin in your program, and read the touch status. Then, you'll
learn how to read touches on multiple pins in a single example. Time to get started!
©Adafruit Industries
module makes it simple to detect when you touch a pin,
touchio
module to read touches on one pin. You'll
prompt. You do
>>>
Page 170 of 263
Need help?
Do you have a question about the ESP32-S3 and is the answer not in the manual?