|
Re: Problems reading io pins as a group
Ahh.. I found the problem..
Mark, if you notice, tested his code on the EDU controller, where PORTA0-3, is bits 1-4
However on the fullsize RC, bits1-4 are PORTB2-5. Infact PORTA isn't even used on the outputs at all.
The full size RC uses parts of Ports B,H,& J
The EDU controller uses parts of Ports A,F,H.
And they actually use different halves of Port H, so I really would suggest against using the port names directly.
Hope this helps....
|