View Single Post
  #4   Spotlight this post!  
Unread 22-01-2006, 14:37
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: using all port pins

You might be better off using the TTL serial port. If that's not an option, many PICs have a parallel port - I don't know if the pins that it uses are wired out to the front of the RC, but if they are you could use that to shift entire bytes in and out.

Failing that you can always just use the digital ins, shift and add. Something along the lines of IN_1 << 7 + IN_2 << 6 + IN_3 << 5 etc.
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!