C Control Pro application board Mega 128 198258 Benutzerhandbuch

Produktcode
198258
Seite von 200
187
Compiler
© 2005 Conrad Electronic
beim zweiten Aufruf von Timer_TickCount() zurück. Der Rückgabewert beim ersten Aufruf kann
ignoriert werden.
Parameter 
Keine
Rückgabewert
Zeitdifferenz zwischen zwei Aufrufen
Beispiel
void main(void)
{
    word time;
    Timer_TickCount();
    AbsDelay(
500
);  
// 500 ms warten
    time=Timer_TickCount();  
// der Wert von time sollte 50 sein
}