Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ADS1015 MPU6050 PixelArray-Nucleo mbed
Fork of Nucleo-transfer by
Revision 23:4a09554bdc1a, committed 2017-10-02
- Comitter:
- ricardo_95
- Date:
- Mon Oct 02 16:10:14 2017 +0000
- Parent:
- 22:a09775c25890
- Child:
- 24:782c4dc4a3ff
- Commit message:
- Lock state added to calibration.
Changed in this revision
| Sensorplate/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Sensorplate/main.cpp Mon Oct 02 16:05:46 2017 +0000
+++ b/Sensorplate/main.cpp Mon Oct 02 16:10:14 2017 +0000
@@ -362,7 +362,7 @@
}
}
- if ((calibration_hold_timer.read_ms() > calibrationtime_ms) && calibration_flag == 0 && new_patient == 0) { // If statement for calibration system.
+ if ((calibration_hold_timer.read_ms() > calibrationtime_ms) && calibration_flag == 0 && new_patient == 0 && lock_state == 0) { // If statement for calibration system.
calibration_flag = 1;
calibration_flash = 11;
pc.printf("Calibrate triggered.\n");
