Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Word to Bits

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Word to Bits

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tiego last edited by

      Hallo,

      wie kann ich in Blockly eine funktion ausführen wenn sich ein bestimtes bit einer Zahl ändert?
      Ich müsste z.B. für jeden der 16 Bit eine Telegramm Meldung senden.

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @tiego last edited by paul53

        @tiego sagte:

        ein bestimtes bit einer Zahl ändert?

        Mit einer Javascript-Funktion die bits checken.

        1 Reply Last reply Reply Quote 0
        • T
          tiego last edited by

          Danke,
          aber ich verstehe nicht genau wie ich eine JS Funktion in Blocky realisieren kann.
          Wie wird sie aufgerufen?

          danke

          paul53 1 Reply Last reply Reply Quote 0
          • T
            tiego last edited by tiego

            ----------fehler----------

            1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @tiego last edited by

              @tiego sagte:

              wie ich eine JS Funktion in Blocky realisieren kann. Wie wird sie aufgerufen?

              Beispiel Abfrage von bit3 und schreiben in eine Variable:

              Blockly_temp.JPG

              1 Reply Last reply Reply Quote 0
              • T
                tiego last edited by

                Danke, ich steh auf der Leitung,...
                Ich benötige wenn sich bit x ändert führe funktion aus,...
                Wie ich dein Beispiel verstehe schreibst du ein Bit oder?

                paul53 1 Reply Last reply Reply Quote 0
                • T
                  tiego last edited by

                  Danke, ich habs überrisssen,...!
                  795fb071-b5f5-4895-97e3-788fa727efd1-grafik.png

                  1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @tiego last edited by paul53

                    @tiego sagte:

                    Ich benötige wenn sich bit x ändert führe funktion aus,...

                    Blockly_temp.JPG

                    1 Reply Last reply Reply Quote 0
                    • T
                      tiego last edited by

                      Danke, die lösung von mir oben sollte aber auch passen oder?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        s.f. @tiego last edited by

                        @tiego
                        Hallo, was steht genau in der JS-Funktion dirn?

                        paul53 1 Reply Last reply Reply Quote 0
                        • paul53
                          paul53 @s.f. last edited by

                          @s-f sagte in: was steht genau in der JS-Funktion dirn?

                          Siehe hier.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          688
                          Online

                          31.9k
                          Users

                          80.2k
                          Topics

                          1.3m
                          Posts

                          3
                          11
                          1007
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo