PDA

View Full Version : DEBUG display on Linux



Bullwinkle
01-21-2006, 05:15 AM
I finally bought a Basic Stamp kit this week. I lashed out and bought the Stampworks kit. AND I LOVE IT!

I got it working from Linux using Adrian Schneider's stampbc program. But how can I see the DEBUG output? I have trying "cat /dev/ttyUSB0" but that just returns without displaying anything.

And ideas?

Thanks.

Bullwinkle
01-21-2006, 05:23 AM
Actually "cat /dev/ttyUSB0" does somethimes show some DEBUG output. But then it just stops. How can I keep it "on the case"?

Bullwinkle
01-21-2006, 05:29 AM
OK - I've answered my own question. I guess sometimes while in the process of asking for help you solve your own problems.

This script seems to work. Not very elegant, but hey.

#!/bin/sh
while (true); do
cat /dev/ttyUSB0
done

Maybe someone else here will find it useful.