Fork of DSP_200kHz by
Diff: Jareds_DSP/print_data.cpp
- Revision:
- 86:b3520f4453cf
- Parent:
- 84:5b4466dd2326
--- a/Jareds_DSP/print_data.cpp Wed Apr 25 16:21:11 2018 +0000
+++ b/Jareds_DSP/print_data.cpp Fri Jun 22 18:13:46 2018 +0000
@@ -8,6 +8,7 @@
+
void print_filter_data(Serial *pc, bool is_actively_printing)
{
static int current_print_frequency = 0;
@@ -41,7 +42,7 @@
printf("PRINT OVERLOAD\n\r");
}
- printing_length[print_identifier]=sprintf (print_buffer[print_identifier], "%d %E %f\n\r",print_identifier, mag, phase);
+ printing_length[print_identifier]=sprintf (print_buffer[print_identifier], "%d %.3E %.3f %.4f\n\r",print_identifier, mag, phase, timer.read());
//printing_counter[print_identifier] = 0;
}
\ No newline at end of file

