Zitat Zitat von BASCOM-AVR Hilfe
The Getatkbd function will wait for a pressed key. When you want to escape from the waiting loop you can set the ERR bit from an interrupt routine for example.