diff --git a/DSTAT-temp/src/experiment.c b/DSTAT-temp/src/experiment.c index 80dd5288cae10043a7f92ec63fb5a04012a39360..49b008912cf8010280f5eb3b77ea16582047659d 100644 --- a/DSTAT-temp/src/experiment.c +++ b/DSTAT-temp/src/experiment.c @@ -584,7 +584,12 @@ void swv_experiment(int16_t start, int16_t stop, uint16_t step, uint16_t pulse_h while ((dacindex <= dacindex_stop && direction == 1) || (dacindex >= dacindex_stop && direction == 0)){ tc_clear_overflow(&TCF0); - printf("%u %ld %ld\n\r", dacindex, forward, reverse); //data output + //data output + printf("B\n"); + send_data_uint16(dacindex); + send_data_int32(forward); + send_data_int32(reverse); + printf("\n"); while (!tc_is_overflow(&TCF0)){ //convert continuously until tc overflow - datum is last collected point while (ioport_pin_is_low(IOPORT_CREATE_PIN(PORTD, 5))); //wait for next valid datum