Ich glaub in dem Makro ist ein Fehler. Die GA bGA Ausgang wird nicht wieder zurück gesetzt.
Ich habe den Code wie folgt geändert:
Dann passt es bei mir.
Gruß
Michael
Code:
:var bAusgang@
bAusgang@=AUS
if bGATaste==EIN and bAusgang@==AUS then {
bAusgang@=EIN;
write(bGAAusgang,EIN);
} endif
// Entprellung
if after(bAusgang@==EIN, uZeit^u64) then {
bAusgang@=AUS;
} endif
if bGATaste==AUS and bGAAusgang==AUS then {
write(bGAAusgang,AUS);
} endif
Code:
if bGATaste==AUS and bAusgang@==AUS then {
write(bGAAusgang,AUS);
} endif
Gruß
Michael


Kommentar