Hallo Ratber.
Die LEDs sind auf dem STK500 ja standardmässig drauf. Sie sind an PortB.0 und PortB.3 angeschlossen. Mit Reset Portb.x schalte ich die LED an, mit Set Portb.x entsprechend aus.

Hallo m.artmann.
Wenn ich

...
Do
Reset Portb.0
Wait 1
Set Portb.0
...

mache leuchtet die LED und bleibt an.

Drehe ich das ganze um, also

...
Do
Set Portb.0
Wait 1
Reset Portb.0
...

bleibt die LED dunkel.

Es wirkt so, als ob die Programmausführung am Wait hängen bleibt.

Habe Ihr ´ne Idee ??? Ich versteh das ganze nicht.

Gruß Ralf