PDA

View Full Version : problem with Shiftout on RC6,RC7.



MOUNTAIN747
- 4th January 2009, 01:15
I have been working with the LAB-X1 board using 877A to drive Sure Electronics 4” 5x7 dot matrix display. Display works fine with Shiftout on RC3,RC4 in mode 4 but I would like to use those pins for I2C. I use the same code with CLK VAR PortC6 and DATA VAR portC7 and the display fails. The X1 has 4.7k pull-ups on RC3-4 and I have used RC6-7 with and without pull-ups and still no display. Sure uses a clock idle high and LSBfirst. Shiftout mode 4 works fine in RC3-4. I have tried TRISC=%00000000 with no change in results. I can see no reason why RC6-7 would not work on Shiftout??? Comments please!

Bruce
- 4th January 2009, 23:08
Are you removing the MAX232 from the LAB-X1?

MOUNTAIN747
- 5th January 2009, 00:35
Bingo! Thanks Bruce! I can't believe I overlooked that one.