Ja, das stimmt. Also nochmal. XD
So richtig schön ist das zwar nicht, aber das sollte nun funzen.Code:Pin x.Y as input portx.y as output do if pinx.y=0 then waitms 10 if pinx.y=0 then while pinx.y = 0 wend toggle port x.y end if end if loop
@Richard: Danke für die Anmerkung.
MfG Loki
Lesezeichen