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
.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
4:107d2d3294da | 2015-02-06 | jont | Tweaked for GU Projects |
3:6a35fb789679 | 2015-02-04 | jont | lets try removing the direct uart code and use getch, it may hang |
2:1a5802e3eb30 | 2015-02-04 | jont | First rewrite for KL25Z support |
1:329a8125838a | 2012-10-26 | jont | Increased command buffer size to allow room for unix size.; |
0:87e65dabdb95 | 2012-10-25 | jont | First release |