i want to insert a arduino code
unsigned long currentLCDMillis = millis();
// MUST WE SWITCH SCREEN?
if(currentLCDMillis - previousLCDMillis > lcdInterval) {
previousLCDMillis = currentLCDMillis;
screen++;
if (screen > screenMax) screen = 0; // all screens done? => start over
screenChanged = true;
I have to set a timer to read milliseconds. I cant find any example to do this. Can anybody help me?
(hercules tms570ls1224pge)