Shop OBEX P1 Docs P2 Docs Learn Events
DEBUG display on Linux — Parallax Forums

DEBUG display on Linux

BullwinkleBullwinkle Posts: 101
edited 2006-01-20 22:29 in BASIC Stamp
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.

Comments

  • BullwinkleBullwinkle Posts: 101
    edited 2006-01-20 22:23
    Actually "cat /dev/ttyUSB0" does somethimes show some DEBUG output. But then it just stops. How can I keep it "on the case"?
  • BullwinkleBullwinkle Posts: 101
    edited 2006-01-20 22:29
    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.
Sign In or Register to comment.