hi all, I am trying to change nigels code at WinPicProg Page for displaying numbers on a 8x8 led square so i can have more than one 8x8 square. I am trying to use 2 74hc595n shift latchs and a 16f876a to do it.
i can get it to display a number if i just shift the bytes into the SSPBUF one at a time so im shore the wiring of my circuit is right but when i try to use the tmr2 interrupt to send the byte to the SSPBUF the 8x8 led square just has random lights on.
Can i use the SPI SSPBUF while using the tmr2 interrupt.
i am a newbie to all this so sorry if it dosnt make sence.
i will try and post code later
thanks for any help
jason
i can get it to display a number if i just shift the bytes into the SSPBUF one at a time so im shore the wiring of my circuit is right but when i try to use the tmr2 interrupt to send the byte to the SSPBUF the 8x8 led square just has random lights on.
Can i use the SPI SSPBUF while using the tmr2 interrupt.
i am a newbie to all this so sorry if it dosnt make sence.
i will try and post code later
thanks for any help
jason