With all its built-in sensors and battery power, the Feather M4 Sense is great for data-logging projects. Stacking headers or FeatherWing Doublers need a little soldering but no custom wiring.
- Plug the FeatherWing into the Feather.
You can also place them side by side on a FeatherWing Doubler.
Don't forget that the Adalogger FeatherWing has a Real Time Clock (RTC) so you can even timestamp your logs!
To mount the SD card, use the following code. Remember, to put it in the file mount_sd.py on CIRCUITPY so you can easily call it from code.py or the REPL with import mount_sd
.
import board import busio import sdcardio import storage spi = board.SPI() cs = board.D10 sdcard = sdcardio.SDCard(spi, cs) vfs = storage.VfsFat(sdcard) storage.mount(vfs, "/sd")





