When debugging code it can be handy to examine/alter variables and to check the state of input lines. So your main program can run and you have access to alter variables and run functions from a terminal. In this sample the main program is just a loop that flashes an LED. In that loop a periodic call is made to ShellTC which handles any commands from the serial terminal. The code is a bit quirky(it was originally written for a very resource limited device) but it works well enough to be useful, hence its published. More details in the main.cpp

Dependencies:   mbed

.

History

Tweaked for GU Projects default tip

2015-02-06, by jont [Fri, 06 Feb 2015 09:46:44 +0000] rev 4

Tweaked for GU Projects


lets try removing the direct uart code and use getch, it may hang

2015-02-04, by jont [Wed, 04 Feb 2015 21:07:52 +0000] rev 3

lets try removing the direct uart code and use getch, it may hang


First rewrite for KL25Z support

2015-02-04, by jont [Wed, 04 Feb 2015 20:53:21 +0000] rev 2

First rewrite for KL25Z support


Increased command buffer size to allow room for unix size.;

2012-10-26, by jont [Fri, 26 Oct 2012 04:51:30 +0000] rev 1

Increased command buffer size to allow room for unix size.;


First release

2012-10-25, by jont [Thu, 25 Oct 2012 21:57:40 +0000] rev 0

First release