Ankündigung

Einklappen
Keine Ankündigung bisher.

Makro vmTasteEntprellen

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Makro vmTasteEntprellen

    Ich glaub in dem Makro ist ein Fehler. Die GA bGA Ausgang wird nicht wieder zurück gesetzt.

    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
    Ich habe den Code wie folgt geändert:
    Code:
    if bGATaste==AUS and bAusgang@==AUS then {
       write(bGAAusgang,AUS);
    } endif
    Dann passt es bei mir.

    Gruß
    Michael
    Meine Installation: VM Debian Buster SH NG 1.8.1, SmartVISU 3.0, KNX, DMX, 1-wire, Fortigate 30E IPS, VMware vSphere 6.7

    #2
    Danke für den Hinweis
    offizielles Supportforum für den Enertex® EibPC: https://knx-user-forum.de/eibpc/
    Enertex Produkte kaufen

    Kommentar

    Lädt...
    X