bad dc motor controller with current mode

Dependencies:   mbed FastPWM3

CommandProcessor/cmd_sys.cpp

Committer:
bwang
Date:
2019-02-03
Revision:
0:2b1edabdd26b

File content as of revision 0:2b1edabdd26b:

#include "mbed.h"
#include "CommandProcessor.h"

void cmd_clear(Serial *pc) {
    pc->printf("\e[1;1H\e[2J");
}

void cmd_help(Serial *pc) {
    pc->printf("%s\n", "setp <float>: set a duty cycle between 0.0 and 1.0");
    pc->printf("%s\n", "freq <float>: set a frequency between 500.0Hz and 10000.0Hz");
}