Use accelerometer to interrupt.
Dependencies: mbed SDFileSystem
Fork of shomberg_hw_7 by
dataLog.h@29:d33071ffaa5f, 2018-11-18 (annotated)
- Committer:
- rshomberg
- Date:
- Sun Nov 18 19:24:26 2018 +0000
- Revision:
- 29:d33071ffaa5f
- Parent:
- 28:a59485b1626b
working code. Tested. Works well.; Doesn't have ability to change interrupt.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rshomberg | 28:a59485b1626b | 1 | #ifndef DATALOG_H |
rshomberg | 28:a59485b1626b | 2 | #define DATALOG_H |
rshomberg | 28:a59485b1626b | 3 | |
rshomberg | 28:a59485b1626b | 4 | #include "mbed.h" |
rshomberg | 28:a59485b1626b | 5 | #include "SDFileSystem.h" |
rshomberg | 28:a59485b1626b | 6 | |
rshomberg | 28:a59485b1626b | 7 | #define PIN_SD_MOSI p5 |
rshomberg | 28:a59485b1626b | 8 | #define PIN_SD_MISO p6 |
rshomberg | 28:a59485b1626b | 9 | #define PIN_SD_SCLK p7 |
rshomberg | 28:a59485b1626b | 10 | #define PIN_SD_CS p8 |
rshomberg | 28:a59485b1626b | 11 | |
rshomberg | 28:a59485b1626b | 12 | |
rshomberg | 28:a59485b1626b | 13 | |
rshomberg | 28:a59485b1626b | 14 | #endif |