Zurück zur Übersicht | Quellcode herunterladen (wait.c)
/*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * any later version. * ***************************************************************************/ /* Diese Funktion veranlasst den ASURO bestimmte Anzahl an Sekunden zu warten. Siehe auch Punkt 9.2.5 der Anleitung Variablen: float sec - Anzahl der zu wartenden Sekunden */ void wait(float sec) { unsigned i = 0; float loop = 333*sec; for (i=0; i<loop; i++) { Sleep(216); } }