Implement a SD card into HW6
Dependencies: SDFileSystem mbed
Fork of shomberg_hw_6 by
Diff: OCE360Input.cpp
- Revision:
- 20:fc1690076f87
- Parent:
- 13:fa74bf0c3b8d
diff -r 1f4dd59bbe6b -r fc1690076f87 OCE360Input.cpp --- a/OCE360Input.cpp Wed Oct 31 23:32:01 2018 +0000 +++ b/OCE360Input.cpp Thu Nov 01 18:03:25 2018 +0000 @@ -18,11 +18,11 @@ #include "OCE360Input.h" // DEFINES -#define VREF 3.5 +#define VREF 3.3 #define TEMP_CALIBRATION_A 0.1 -#define TEMP_CALIBRATION_B 0 +#define TEMP_CALIBRATION_B -50 -DigitalIn myswitch(p7); +DigitalIn myswitch(p9); AnalogIn Ain(p20); int switchPosition;