serqet2

Dependencies:   BLE_API circular_buffer mbed nRF51822

Fork of serqet by Serqet

Files at this revision

API Documentation at this revision

Comitter:
andrewadavidson
Date:
Tue Mar 24 23:11:32 2015 +0000
Parent:
12:7df0f60cf9e5
Commit message:
update

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7df0f60cf9e5 -r 22ad79b4c26c main.cpp
--- a/main.cpp	Tue Mar 24 23:05:57 2015 +0000
+++ b/main.cpp	Tue Mar 24 23:11:32 2015 +0000
@@ -175,7 +175,7 @@
  //   pc.printf("sent 20, %d left\n\r", voltage_buffer.get_size());
 
     if (voltage_buffer.get_size() == 0) {
-        pc.printf("done sending\n\r");
+       // pc.printf("done sending\n\r");
         ticker.detach();
         ticker.attach_us(read_analog_handle, 10000);
     }
@@ -194,7 +194,7 @@
 
 
     if (((voltage_buffer.get_size() == VOLTAGE_BUFFER_SIZE) && (is_triggered(sample, prev_sample, trigger_dir)))) {
-        pc.printf("triggered, %d\n", sample);
+      //  pc.printf("triggered, %d\n", sample);
         //
         //if (time_shift < time_shift_value) {
         //    is_shifting = true;