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: mbed MODSERIAL FastPWM ADS8568_ADC
Revision 31:35c86bee2ed9, committed 2020-03-25
- Comitter:
- paullj
- Date:
- Wed Mar 25 09:16:44 2020 +0000
- Parent:
- 30:ab214b681d9b
- Commit message:
- Added old values back as a comment
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- a/main.cpp	Tue Mar 17 15:02:33 2020 +0000
+++ b/main.cpp	Wed Mar 25 09:16:44 2020 +0000
@@ -33,6 +33,12 @@
   {{0.060987, 10.154840},  {0.033058, 10.239591}},
   {{0.014312, 10.405662},  {0.000000, 1.0000000}},
   {{0.055152, 10.062970},  {0.114355, 10.123188}}};
+
+// Old Calibration values  
+//  {{{0.0908347476278717, 10.1921343711427}, {0.0497613470164513, 10.2109327517567}},
+//  {{0.0596907336847412, 10.1550084867437}, {0.0320376283698263, 10.2580153464834}},
+//  {{0.0119648730956925, 10.4065902688349}, {0.0256785142683800, 10.2921134395920}},
+//  {{0.0482969653247984, 10.0688110602909}, {0.0882102280729402, 10.1322703041679}}};
   
 MODSERIAL pc(PA_9, PA_10, BUFFER_SIZE); //mcu TX, RX, BUFFER_SIZE byte TX and RX buffers
 ADS8568_ADC adc(PB_15, PB_14, PB_13, PB_12, PC_15, PC_0, PC_1, PC_2, PC_3);