Amundson OCE 360 homework 7, write and store temperature and time data to an SD card
Dependencies: SDFileSystem mbed
Diff: inputOutput.h
- Revision:
- 0:4145a0dc56d8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inputOutput.h Sat Nov 03 19:12:06 2018 +0000 @@ -0,0 +1,13 @@ + +#ifndef inputOutput +#define inputOutput + +Serial pc (USBTX, USBRX); +AnalogIn Ain (p15); +DigitalIn switchValue (p9); +// SD card (SPI pins) +SDFileSystem sd(p5, p6, p7, p8, "sd"); + +Timer timer; + +#endif