ADC logging with demo drive board for calibration ADC read synchronised with heater on time

Dependencies:   mbed MODSERIAL FastPWM ADS8568_ADC

Revision:
29:06235c37746a
Parent:
28:63280fb5b938
Child:
30:d2b897a07f51
--- a/main.cpp	Thu Oct 10 14:06:11 2019 +0000
+++ b/main.cpp	Thu Oct 10 16:23:47 2019 +0000
@@ -29,10 +29,10 @@
   {0x00570060, 0x32375101, 0x32363531}};
 
 float drive_board_cal[UID_TABLE_LENGTH][2][2] = 
- {{{0.096724353, 10.1817431}, {0.056098807, 10.19962849}},
- {{0.0596907336847412, 10.1550084867437}, {0.0320376283698263, 10.2580153464834}},
- {{0.01887149,  10.39360225}, {0.03115874, 10.28199855}},
- {{0.052545339, 10.06008621}, {0.094239471, 10.11983777}}}; 
+ {{{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);