sorry,
updated code posted correctly.
Did I say I am new to this.
#include "LedControl.h"
LedControl lc=LedControl(12,11,10,1);
unsigned long delaytime=200;// v*75
void setup() {
/*
The MAX72XX is in power-saving mode on startup,
we have to do a wakeup call
*/
lc.shutdown(0,false);
/* Set the brightness to a medium values */
lc.setIntensity(0,8);
/* and clear the display */
lc.clearDisplay(0);
int v = 0;
}
void loop()
// function to send digits to 7 seg led
{
for(int v=0;v<99;v++) {
int ones;
int tens;
boolean zero;
if(v > 99)
return;
ones=v%10;
v=v/10;
tens=v%10;
v=v/10;
lc.setDigit(0,1,(byte)tens,false);
lc.setDigit(0,0,(byte)ones,false);
delay(3000);
}
}