Patrick McNamara / Mbed 2 deprecated ADC_SDcard_serial

Dependencies:   BufferedSerial SDFileSystem mbed

Fork of SDFileSystem_HelloWorld by mbed official

Revision:
4:0e2980186bed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ReadADC.h	Thu Jun 16 21:17:30 2016 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+
+
+
+
+
+/************************************************************************
+* readADC will recieve an interrupt and store ADC data to an array
+*
+************************************************************************/
+void readADC()
+{
+    //pc.printf("Start reading ADC...");
+    for (int i = 0; i < ADCReadCount; i++)
+    {
+        squibCLT_array[i] = squibCLT_ADC.read();
+        arrayCount++;
+    }
+    //pc.printf("Done\r\n");
+}
+