Amundson OCE 360 homework 7, write and store temperature and time data to an SD card

Dependencies:   SDFileSystem mbed

inputOutput.h

Committer:
bamundson
Date:
2018-11-03
Revision:
1:51cb4f1ece04
Parent:
0:4145a0dc56d8

File content as of revision 1:51cb4f1ece04:


#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