LPC11U35 ADC Tick & USBSerial

Dependencies:   mbed

Dependents:   SmallDoseMeter_SingleCH_AE_lpc11u35_V1_00

Files at this revision

API Documentation at this revision

Comitter:
H_Tsunemoto
Date:
Mon Feb 19 09:09:52 2018 +0000
Parent:
0:871ab6846b18
Commit message:
test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 871ab6846b18 -r b1a3be5f48ab main.cpp
--- a/main.cpp	Mon Feb 19 08:51:33 2018 +0000
+++ b/main.cpp	Mon Feb 19 09:09:52 2018 +0000
@@ -248,8 +248,8 @@
                     st_adc_mode_param.i_sample_interval =1;
                     }
     // 2018.02.19 for Small Dose Special Range = 0 Dummy & Duplicate 0CH Data Send
- //              sprintf(tx_line,"%1d,%03x,%1d,%03x\r\n"
-                 serial.printf("%1d,%03x,%1d,%03x\r\n"
+               sprintf(tx_line,"%1d,%03x,%1d,%03x\r\n"
+ //                serial.printf("%1d,%03x,%1d,%03x\r\n"
                         ,0
                         ,(st_adc_sample_ave[0].sample_Ave / st_adc_mode_param.i_sample_interval)
                         ,0
@@ -265,7 +265,7 @@
 */
                 i_adc_Sample_Status =   ADC_SAMPLE_Empty;   
  //                send_line();
-                    serial.Write(tx_line);
+  //                  serial.Write(tx_line);
                 if(i_LED_Active == Debug_LED_Active){
                     led4 = (led4+1) & 1;
                     led4 = (led4+1) & 1;