Quote Originally Posted by ian713 View Post
HI, I hope I have found myself in the right place, and apologise if I have found the wrong thread....
Yep, found the wrong forum...close...very close...but still wrong.

I am looking for some very basic programming help for PBASIC for university exam (i'm from Scotland) I'm sitting on thursday morning...didn't realise we had to learn actual code!
Nothing like waiting until the last minute.

The questions and programs are very simple, a few lines at most, but I'm struggling to get mmy head round it. I'll list a couple of examples and if anyone could fid a little time to help that would be superb, I'd really appreciate it (even if anyone has any suggested links where learning such programming can be done by novices like me!)
Basic Stamps - www.Parallax.com - never used them, can't be specific, but download the manuals and you might get somewhere.

1. 'The status of all 8 I/O lines on a Basic Stamp 1 is to be read.......
2. a Basic Stamp 1 has pushbuttons with pulldown resistor.....
Both items are basically generic and easily done I'm sure, but again, haven't used the Stamps, don't know the exact syntax, and I'm not going to lead you down the wrong path.
I'm sure the Basic Stamp instruction booklet has your answers. And I'm sure it'll be just that much easier if you've got any programming experience at all once you see the book.