remove : volatile unsigned char tick;
and replace it with:
unsigned long prevMillis = 0;
You can remove the functions that related to timer2. There is nothing needed in setup other than that required for your led display.
have fun!
remove : volatile unsigned char tick;
and replace it with:
unsigned long prevMillis = 0;
You can remove the functions that related to timer2. There is nothing needed in setup other than that required for your led display.
have fun!