Hi all,
I'm having trouble with the max7219 led controller.
For some reason, I can't display a 0, 8 or 9 on my 7 segment displays.
Everytime I try to display an 0, 8 or 9 the screen doesn't display anything at all. I thought the displays were broken but I already got new ones and it's still not fixed.
I already tried another max7219 (I have a couple of them) but they all have the same issue.
The displays used are kingbright SC08-11GWA GREEN.
Thanks!
Jens
My code:
#include "LedControl.h"
LedControl lc=LedControl(12,11,10,1);
void setup() {
lc.shutdown(0,false);
/* Set the brightness to a medium values */
lc.setIntensity(0,15);
/* and clear the display */
lc.clearDisplay(0);
}
void loop() {
lc.setDigit(0,0,0, false);
delay(1000);
lc.setDigit(0,0,1, false);
delay(1000);
lc.setDigit(0,0,2, false);
delay(1000);
lc.setDigit(0,0,3, false);
delay(1000);
lc.setDigit(0,0,4, false);
delay(1000);
lc.setDigit(0,0,5, false);
delay(1000);
lc.setDigit(0,0,6, false);
delay(1000);
lc.setDigit(0,0,7, false);
delay(1000);
lc.setDigit(0,0,8, false);
delay(1000);
lc.setDigit(0,0,9, false);
delay(1000);
}