micropython/examples/SDdatalogger
Jim Mussared 8b27482692 top: Update Python formatting to black "2023 stable style".
See https://black.readthedocs.io/en/stable/the_black_code_style/index.html

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-02-02 12:51:03 +11:00
..
README.md created SDdatalogger example 2014-05-04 19:07:17 +02:00
boot.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
cardreader.py created SDdatalogger example 2014-05-04 19:07:17 +02:00
datalogger.py top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00

README.md

This is a SDdatalogger, to log data from the accelerometer to the SD-card. It also functions as card reader, so you can easily get the data on your PC.

To run, put the boot.py, cardreader.py and datalogger.py files on either the flash or the SD-card of your pyboard. Upon reset, the datalogger script is run and logs the data. If you press the user button after reset and hold it until the orange LED goes out, you enter the cardreader mode and the filesystem is mounted to your PC.