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
>
>
>
>
Committer:
dudmuck
Date:
Thu Nov 06 02:58:50 2014 +0000
Revision:
0:9a142eb22e83
initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dudmuck 0:9a142eb22e83 1 http://mbed.org/users/mbed_official/code/mbed/builds/031413cf7a89