Pins After 20 not working?
TylerSkyler
Posts: 72
Hi All! I am using the Parallax Propeller Semiconductor. I was playing around with it and I found something very odd. I'm using this code to turn on and LED:
With this the LED turns on and All is good in the world. But if I switch put the positive of the LED to a higher pin such as, 30 as in:
Nothing happens. Why would this be? Are the high pins set for output differently? I'm sure it will be a simple fix and i'll feel stupid briefly then move on with my life. All help is as always appreciated!
Thanks,
Tyler
PUB MAIN dira[0] := 1 repeat outa[0] := 1
With this the LED turns on and All is good in the world. But if I switch put the positive of the LED to a higher pin such as, 30 as in:
PUB MAIN dira[30] := 1 repeat outa[30] := 1
Nothing happens. Why would this be? Are the high pins set for output differently? I'm sure it will be a simple fix and i'll feel stupid briefly then move on with my life. All help is as always appreciated!
Thanks,
Tyler
Comments
-Phil