Problems with I/O pins on Basic Stamp II
I'm only able to receive an output voltage to P0, in which I have an
led and resistor connected to it. This works fine as the led blinks
on/off for the program that I wrote. but I get no output voltage
from the other I/O pins P1 - P15. Here's what my code looks like:
output 0 'make p0 an output
output 1 'make p1 an output (doesn't work for pins P1 - P15)
reblink:
out0 = 0 'turn on p0
out1 = 1 'turn off p1 (doesn't work for pins P1 - P15)
pause 1000
out0 = 1 'turn off p0
out1 = 0 'turn on p1 (doesn't work for pins P1 - P15)
pause 1000
goto reblink
I've rechecked all of the solder connects from P1 - P15
P.S. - I built the Basic Stamp II from a stamp kit
Any suggestions would be greatly appreciated.
Thanks,
Ty
led and resistor connected to it. This works fine as the led blinks
on/off for the program that I wrote. but I get no output voltage
from the other I/O pins P1 - P15. Here's what my code looks like:
output 0 'make p0 an output
output 1 'make p1 an output (doesn't work for pins P1 - P15)
reblink:
out0 = 0 'turn on p0
out1 = 1 'turn off p1 (doesn't work for pins P1 - P15)
pause 1000
out0 = 1 'turn off p0
out1 = 0 'turn on p1 (doesn't work for pins P1 - P15)
pause 1000
goto reblink
I've rechecked all of the solder connects from P1 - P15
P.S. - I built the Basic Stamp II from a stamp kit
Any suggestions would be greatly appreciated.
Thanks,
Ty
Comments
second delay before the next pin goes high, starting with pin 0 to pin 15.
a var nib
for a = 0 to 15
high a
pause 1000
next
jafo3200@y... wrote:
>
> I'm only able to receive an output voltage to P0, in which I have an
> led and resistor connected to it. This works fine as the led blinks
> on/off for the program that I wrote. but I get no output voltage
> from the other I/O pins P1 - P15. Here's what my code looks like:
>
> output 0 'make p0 an output
> output 1 'make p1 an output (doesn't work for pins P1 - P15)
>
> reblink:
> out0 = 0 'turn on p0
> out1 = 1 'turn off p1 (doesn't work for pins P1 - P15)
> pause 1000
> out0 = 1 'turn off p0
> out1 = 0 'turn on p1 (doesn't work for pins P1 - P15)
> pause 1000
> goto reblink
>
> I've rechecked all of the solder connects from P1 - P15
>
> P.S. - I built the Basic Stamp II from a stamp kit
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
> Ty
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
I'll give it a try!
Ty
--- In basicstamps@y..., "L .Gaminde" <lgaminde@t...> wrote:
> Try this first, this will make all pins high, one at a time, with a
one
> second delay before the next pin goes high, starting with pin 0 to
pin 15.
>
>
> a var nib
>
> for a = 0 to 15
> high a
> pause 1000
> next
>
> jafo3200@y... wrote:
> >
> > I'm only able to receive an output voltage to P0, in which I have
an
> > led and resistor connected to it. This works fine as the led
blinks
> > on/off for the program that I wrote. but I get no output voltage
> > from the other I/O pins P1 - P15. Here's what my code looks like:
> >
> > output 0 'make p0 an output
> > output 1 'make p1 an output (doesn't work for pins P1 - P15)
> >
> > reblink:
> > out0 = 0 'turn on p0
> > out1 = 1 'turn off p1 (doesn't work for pins P1 - P15)
> > pause 1000
> > out0 = 1 'turn off p0
> > out1 = 0 'turn on p1 (doesn't work for pins P1 - P15)
> > pause 1000
> > goto reblink
> >
> > I've rechecked all of the solder connects from P1 - P15
> >
> > P.S. - I built the Basic Stamp II from a stamp kit
> >
> > Any suggestions would be greatly appreciated.
> >
> > Thanks,
> > Ty
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/