Hi, this is my last resort after attempting setting up communications and getting the correct result from my code.
Basically I need a simple working example program in C to display say:
I have it connected as so:
(MAX7219 > PIC16F877A)
DIN.........> RC5
LOAD/CS.> RC0
CLK.........> RC3
ISET........> +VE (through 10K)
I'm using PIC16F877A, MAX7219CNG and 1088BS Multiplex display. I have tried numerous times looking on data sheet to set the SFR's but I'm getting no where. There is plenty of examples on Google for Arduino but would prefer to use the PIC as it's what I'm used to.
I've never used a display driver before I've always used PORTS on the Microchip and could do this using them, but I have a big project in mind and would love to use Serial data instead.
Any help would be massively appreciated!
Ben.
Basically I need a simple working example program in C to display say:
Code:
//Digit 1
B01000000
B11000000
B01000000
B01000000
B01000000
B01000000
B11100000
(MAX7219 > PIC16F877A)
DIN.........> RC5
LOAD/CS.> RC0
CLK.........> RC3
ISET........> +VE (through 10K)
I'm using PIC16F877A, MAX7219CNG and 1088BS Multiplex display. I have tried numerous times looking on data sheet to set the SFR's but I'm getting no where. There is plenty of examples on Google for Arduino but would prefer to use the PIC as it's what I'm used to.
I've never used a display driver before I've always used PORTS on the Microchip and could do this using them, but I have a big project in mind and would love to use Serial data instead.
Any help would be massively appreciated!
Ben.