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: BufferedSerial SDFileSystem mbed
Fork of SDFileSystem_HelloWorld by
ReadADC.h
00001 #include "mbed.h" 00002 00003 00004 00005 00006 00007 /************************************************************************ 00008 * readADC will recieve an interrupt and store ADC data to an array 00009 * 00010 ************************************************************************/ 00011 void readADC() 00012 { 00013 //pc.printf("Start reading ADC..."); 00014 for (int i = 0; i < ADCReadCount; i++) 00015 { 00016 squibCLT_array[i] = squibCLT_ADC.read(); 00017 arrayCount++; 00018 } 00019 //pc.printf("Done\r\n"); 00020 } 00021
Generated on Thu Jul 14 2022 07:59:08 by
