circuitpython/examples/SDdatalogger
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py.
This is run with uncrustify 0.70.1, and black 19.10b0.
2020-02-28 10:33: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 all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33: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.