2 minutes after, the light of my led is totally desynchronized with my guitar metronome. Why?
I used 2 different metronomes, and im sure the problem is in arduino....
Could you modify the code with MsTimer2 to fix it.
Thank for your reply.
I´m using http://a.bestmetronome.com, is an online metronome,
I´m using too one app for my iphone,
And i´m using too my hand clock....all are perfect, all except the arduino time...and i'm desperate.
I think the problem is in my code...I can´t believe the arduino is not accurate in only 2 minutes...
What do you think?
Thanks so much for your reply.
I understand, but i made months ago the same project with Lego Mindstorms, and i did it without problems...the project was very very easy...but Lego was a toy, so i decided change to Arduino, and i have sold my Lego.
Now i need this led blinking , and a cannot made with arduino..I can believe it!
Only for curiosity, please, could you write me the code with MsTimer2? Please.
I have read that "delay" command is not good.
I have read that MsTimer2, millis and other options are better, but i don't understand to write the code.