demonstration of using serial port as console/terminal

Dependencies:   mbed

Demonstration of using serial port with a dumb terminal. Such as teraterm. This example uses serial port at 57600bps.

purpose

provide quick/easy user interface.

features

  • backspace key stops at start of line
  • <enter> on empty line repeats last command
  • Ctrl-C can be used to abort something

teraterm console

reset
> ?
.       print status
led     toggle LED
da<%d>  get/set my_data
> .
LED1:0
my_data:0
> led
> .
LED1:1
my_data:0
> da
data:0
> da1337
data:1337
> .
LED1:1
my_data:1337
> led
>
>
>
>
Download repository: zip gz

Files at revision 0:9a142eb22e83

Name Size Actions
[up]
main.cpp 2559 Revisions Annotate
mbed.bld 65 Revisions Annotate