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.
Dependents: LEX_Threaded_Programming MEMSPCR_Control_Program_AD_Logging_Demo_PCB MEMSPCR_Control_Program_AD_Logging_Sync MEMSPCR_Control_Program_AD_Logging_PWM ... more
Revision 3:7c4fd26c696e, committed 2019-08-19
- Comitter:
- omatthews
- Date:
- Mon Aug 19 07:55:44 2019 +0000
- Parent:
- 2:52a40eb59b06
- Commit message:
- 10/08/2019
Changed in this revision
| ADS8568_ADC.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ADS8568_ADC.cpp Wed Jul 24 14:29:54 2019 +0000
+++ b/ADS8568_ADC.cpp Mon Aug 19 07:55:44 2019 +0000
@@ -7,7 +7,7 @@
------------------------------------------------------------------------------*/
#include "ADS8568_ADC.h"
-
+extern DigitalOut led_0;
ADS8568_ADC::ADS8568_ADC(PinName mosi, PinName miso, PinName sclk, PinName ncs,PinName reset, PinName convA, PinName convB, PinName convC, PinName convD)
@@ -45,6 +45,7 @@
void ADS8568_ADC::start_conversion(int channels)
{
//send convert signal to all channels
+
converts = channels;
wait_us(1);
converts = 0;