updates
Fork of SDFileSystem by
Diff: OCE560Input.cpp
- Revision:
- 27:7c4478225857
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OCE560Input.cpp Thu Nov 01 15:17:27 2018 +0000 @@ -0,0 +1,9 @@ +// OCE560Input.cpp code for Exercise 6 +#include "OCE560Input.h" +#define mV_Volt1 3300 +#define TMP36_calib1 500 +#define Ten 10 + +AnalogIn ain(p20); // TMP36 sensor +DigitalIn boolSwitch(p9); // Switch +Serial pc(USBTX, USBRX); // communication to host PC \ No newline at end of file