Bayley Wang / Mbed 2 deprecated foc-ed_in_the_bot_compact

Dependencies:   FastPWM3 mbed

Committer:
bwang
Date:
Sat Feb 10 06:35:52 2018 +0000
Revision:
196:7172e6e28867
02/10/2017 01:35 - can now switch command source to terminal, added 'clear' command (which clears the screen on POSIX-compliant terminals)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bwang 196:7172e6e28867 1 #include "mbed.h"
bwang 196:7172e6e28867 2 #include "CommandProcessor.h"
bwang 196:7172e6e28867 3
bwang 196:7172e6e28867 4 void cmd_clear(Serial *pc) {
bwang 196:7172e6e28867 5 pc->printf("\e[1;1H\e[2J");
bwang 196:7172e6e28867 6 }