Long ago, our member Melanie posted this great test program parsing strings and executing commands from a terminal through serial port, with no interrupts in a fast closed loop. It had great structure and expanding possibilities.
Have a look here for the comms1.bas program: http://www.picbasic.co.uk/forum/show...=2078#post2078
Ioannis




Bookmarks