Problem with MAX7219

So i'm using MAX7219 to control a VQE 23 seven segment led indicator. Using this scheme: Arduino Playground - MAX72XXHardware RSet is a 10k resistor. I have a really weird problem - the digit lights up for a less then a second, i can barely see it, and then it goes away. I know this is a software problem, probably something really stupid, but i couldn't find a way to fix it on google. Here is the code i am using

#include <LedControl.h>

// inputs: DIN pin, CLK pin, LOAD pin. number of chips

LedControl lc=LedControl(10,11,12,1); // lc is our object

  // the zero refers to the MAX7219 number, it is zero for 1 chip
  lc.shutdown(0,false);// turn off power saving, enables display
  lc.setIntensity(0,15);// sets brightness (0~15 possible values)
  lc.clearDisplay(0);// clear screen
  
  
}
void loop()
{

   lc.setDigit(0, 0, 3, false);
   
  
}

Problem was fixed by adding a delay after lc.setDigit(0, 0, 3, false); and increasing the RSet resistor form 10k to 40k

Hi,
Good to hear.

Can you edit the title please and put [SOLVED] at the end.

Thanks.. Tom... :slight_smile: