Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
CommandProcessor/cmd_sys.cpp@196:7172e6e28867, 2018-02-10 (annotated)
- 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?
| User | Revision | Line number | New 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 | } |