Hallo Soko,
da hast du dir kein sehr gutes Codebeispiel geklaut. Probier mal alles hinter Init() in eine Endlosschleife zu packen, dann sollte es funktionieren.
btw, für Programmcode heißt das Metatag 'code' nicht 'list'.Code:#include "asuro.h" int Main(void) { unsigned char sw; Init(); while(1) // Endlosscheife { sw = PollSwitch() ; ... } }
Lesezeichen