Hallo,

Aktivieren des Timers laut Info mit :
__________________________________________________ ____________________________
int setInterval(long d, timer_callback f)
Call function f every d milliseconds. The callback function must be declared as void f().

void repeatMe() {
// do something
}

timerId = timer.setInterval(1000, repeatMe);
__________________________________________________ _______________________________

Deaktivieren des Timers laut Info mit :
__________________________________________________ ______________________________
void disable(int timerId)

Disables the specified timer.

timer.disable(timerId);
__________________________________________________ ______________________________

Ich bin der Meinung, ich habe das so richtig umgesetzt..... mein PC ist da anderer Meinung!

timer1.setInterval(3000, Zeitablauf1); // Endzeit und UP, wenn Endzeit erreicht ist
.
.
.
timer1.disable(Zeitablauf1); // Timer1 löschen

.
.
.
void Zeitablauf1() { // wird ausgeführt, wenn SimpleTimer timer 1 abgelaufen ist
.
.

Fehlermeldung bei disable:
no matching function for call to 'SimpleTimer::disable(SimpleTimer&)'

Was ist da falsch?

Gruß
fredyxx