updates
Fork of SDFileSystem by
OCE560Input.cpp@27:7c4478225857, 2018-11-01 (annotated)
- Committer:
- bunikewicz
- Date:
- Thu Nov 01 15:17:27 2018 +0000
- Revision:
- 27:7c4478225857
updates
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bunikewicz | 27:7c4478225857 | 1 | // OCE560Input.cpp code for Exercise 6 |
bunikewicz | 27:7c4478225857 | 2 | #include "OCE560Input.h" |
bunikewicz | 27:7c4478225857 | 3 | #define mV_Volt1 3300 |
bunikewicz | 27:7c4478225857 | 4 | #define TMP36_calib1 500 |
bunikewicz | 27:7c4478225857 | 5 | #define Ten 10 |
bunikewicz | 27:7c4478225857 | 6 | |
bunikewicz | 27:7c4478225857 | 7 | AnalogIn ain(p20); // TMP36 sensor |
bunikewicz | 27:7c4478225857 | 8 | DigitalIn boolSwitch(p9); // Switch |
bunikewicz | 27:7c4478225857 | 9 | Serial pc(USBTX, USBRX); // communication to host PC |