Shop OBEX P1 Docs P2 Docs Learn Events
Real Time Pin Status — Parallax Forums

Real Time Pin Status

ArchiverArchiver Posts: 46,084
edited 2003-05-30 15:47 in General Discussion
At 10:32 AM 5/30/03 -0400, Bill Katakis wrote:
>as im using a lot of stamp pins in my project, and they change status as I
>press the arrow keys on the at keyboard for directional control of the
>robot, I wouldn't benefit too much from a logic probe ,,too many pins, (9 at
>least) i don't think. It would be nice to have the lights so that i can see
>the status in real time as i change direction. Is there a technical reason
>why that can't be done? Can the stamp tell us via it's serial port what
>the status of its pins are and direct that to some graphical led's? A set
>of 3 for each pin? Is there software that will do that that doesn't require
>a second mortgage? lol

Bill-

What the Stamp "knows" is only what the DIRS show, and what the INs and OUTs
indicate on testing them. What the outside world "sees" is the reality of
what's going on.

Pull-up or pull-down resistors on the output pins may cause an actual status
other than what the Stamp might expect it to be. Testing the pins
externally is the only way possible, presently. I suppose a Stamp II
emulator (not available to my knowledge) might be able to provide
additional information, but that may
or may not be in "real time" depending on how the emulator is written.

I suspect others may add more to this thought, but that's the way I see it.

Regards,

Bruce Bates
Sign In or Register to comment.