Implement a SD card into HW6
Dependencies: SDFileSystem mbed
Fork of shomberg_hw_6 by
Diff: OCE360Input.cpp
- Revision:
- 12:ea407dcaff78
- Parent:
- 11:42914083ac70
- Child:
- 13:fa74bf0c3b8d
diff -r 42914083ac70 -r ea407dcaff78 OCE360Input.cpp --- a/OCE360Input.cpp Thu Oct 25 18:58:41 2018 +0000 +++ b/OCE360Input.cpp Thu Oct 25 22:43:36 2018 +0000 @@ -19,11 +19,10 @@ // DEFINES #define VREF 3.5 -#define TEMP_CALIBRATION_A 0.01 +#define TEMP_CALIBRATION_A 0.1 #define TEMP_CALIBRATION_B 0 -DigitalIn myswitch(p7); -AnalogIn Ain(p20); + int switchPosition; int sensorVoltage;