Skip to content
Snippets Groups Projects
Commit 8614c16f authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Removed non comment charactered output.

parent d8efa056
Branches
Tags
No related merge requests found
......@@ -56,7 +56,6 @@ int8_t command_handler(char command){
scanf("%u",&p5); //get number of steps
//allocate arrays for steps
printf("%u\n\r", p5*sizeof(uint16_t));
uint16_t * step_dac = malloc(p5*sizeof(uint16_t));
uint16_t * step_seconds = malloc(p5*sizeof(uint16_t));
//check for successful allocation
......@@ -67,18 +66,13 @@ int8_t command_handler(char command){
uint8_t i;
printf("#DAC:\n\r#");
for (i=0; i<p5; i++){
scanf("%u", &step_dac[i]); // get voltage steps (dac units)
printf("%u ", step_dac[i]);
}
printf("\n\r#Time:\n\r#");
for (i=0; i<p5; i++){
scanf("%u", &step_seconds[i]); //get step durations (seconds)
printf("%u ", step_seconds[i]);
}
printf("\n\r");
ca_experiment(p5, step_dac, step_seconds);
......@@ -91,8 +85,6 @@ int8_t command_handler(char command){
printf("#ERR: Command not recognized\n\r");
return 1;
}
printf("#K\n\r");
return 0;
}
......
No preview for this file type
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment