alle 8er - alle 14er - alle 18er - alle 20er - alle 28er - all40er
button Beispiel :
init:
b2=0
; setzt b2 auf 0
; resetet die Variable targetbyte
; vor der Wiederholungs-Schleife
; input c.0
; active high
; Sprungadresse 'pushed' wenn 1
myLoop:
button
c.0,1,200,100,b2,1,pushed
; springt nach
cont wenn c.0 = 1
low b.7
; deaktiviere Pin b.7
pause 10
; wartet 10 Millisekunden
goto myLoop
; springt zurück
nach myLoop
pushed:
high b.7
; aktiviere Pin b.7
sertxd ("PUSH")
; sendet "PUSH" Meldung
goto myLoop
; springe zurück nach myLoop