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

Added command for potentiometry to main. Implements #6 and #7.

parent 0b51563c
Branches
Tags
No related merge requests found
......@@ -66,6 +66,13 @@ int8_t command_handler(char command){
dpv_experiment(p1,p2,u1,u2,u3,u4);
break;
#if BOARD_VER_MAJOR == 1 && BOARD_VER_MINOR >= 2
case 'P': //potentiometry - time, OCP/poteniometry
scanf("%u%hhu",&pct1, &o1);
pot_experiment(pct1, o1);
break;
#endif
case 'R': //CA - steps, step_dac[], step_seconds[]
scanf("%hhu",&p5); //get number of steps
printf("#Steps: %u\n\r", p5);
......
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