HI, I hope I have found myself in the right place, and apologise if I have found the wrong thread....
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!
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!)
Thanks for the help
1. 'The status of all 8 I/O lines on a Basic Stamp 1 is to be read. Write a PBASIC program which reads the status of the input lines and stores in byte 1'
2. a Basic Stamp 1 has pushbuttons with pulldown resistor connected to pin 3 of its I/O port and LED's connected active high to the remaining pins. write a program to turn off the LED's when the program starts and turn them back on as soon as the button is first pressed. No further action is required. You must configure inputs and outputs correctly'
I hope this makes some sort of sense and someone might be able to give a bit of advice! thanks for ur time!