So this is my first arduino (or embedded for that matter) project. I am trying to power 4 leds with max7219. Max7219 seems easy to use, but for some reason after I upload the code, nothing happens. I've looked over my breadboard, and the connections seem right. My confusion arises from the fact that all the projects I have found on google use matrices for the leds. I am using 4 separate leds. Does this even matter?
Here is the code I use:
#include "LedControl.h"
LedControl ledControl = LedControl(12, 9, 10, 1);
void setup()
{
//should be waking ledcontrol
ledControl.shutdown(0, false);
ledControl.setIntensity(0, 8);
}
void loop()
{
ledControl.setLed(0, 0, 0, true);
}