Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. LCD Display 16x2

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    LCD Display 16x2

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

      Hallo
      Habe mir ein Blockly erstellt der in Zeile 1 + 2 Temperaturen anzeigt.
      Nun möchte ich dass noch mehr Temperaturen angezeigt werden.
      Ist es möglich dieses alle zb. 3 Sek. im Wechsel angezeigt wird.

      20211205_152754.jpg
      Blockly.JPG

      1 Reply Last reply Reply Quote 0
      • premo
        premo last edited by

        @premo sagte in LCD Display 16x2:

        Ist es möglich dieses alle zb. 3 Sek. im Wechsel angezeigt wird.

        Ist so was denn möglich und in welche Richtung müsste ich suchen.

        paul53 D 2 Replies Last reply Reply Quote 0
        • paul53
          paul53 @premo last edited by paul53

          @premo sagte: in welche Richtung müsste ich suchen.

          Zeitplan (alle 3 s) mit Zählvariable für anzuzeigende Werte. Prinzip:

          Bild_2021-12-09_172019.png

          1 Reply Last reply Reply Quote 0
          • D
            Dragon @premo last edited by

            @premo Ich denke du kannst es alle drei Sekunden ändern in dem du einen Ablauf in das Skript schreibst. Und immer zwei neue Zeilen einfügst mit einem Timeout. Also meinetwegen alle 15 sek. den Ablauf neu starten und dann erst den Inhalt von oben, dann 3 oder 5 sek. später andere Werte schreiben und wieder 5 sek später noch mal andere Werte schreiben. Dann hast du immerhin sechs Temperaturen anzeigen lassen. und es wiederholt sich alle 15 sek. So kannst du durch anpassen der einzelnen Intervalle beliebig viele Werte anzeigen lassen...
            2021-12-09 17_02_34-Window.png

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable type="timeout" id="timeout">timeout</variable>
                <variable type="timeout" id="timeout2">timeout2</variable>
              </variables>
              <block type="schedule" id="Vvlq6{7afGU8xGA41!Ev" x="138" y="263">
                <field name="SCHEDULE">*/15 * * * * *</field>
                <statement name="STATEMENT">
                  <block type="request" id="]T_X0P][41f!/fo_$[2d">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                    <field name="WITH_STATEMENT">FALSE</field>
                    <field name="LOG"></field>
                    <value name="URL">
                      <shadow type="text" id="S-tAf(ATMj6]?vuL5#n|">
                        <field name="TEXT">Zeile 1</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="request" id="8|0K]zqw@nmz]`[v-:gk">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                        <field name="WITH_STATEMENT">FALSE</field>
                        <field name="LOG"></field>
                        <value name="URL">
                          <shadow type="text" id="PqBcQnm=x{Jh?_f@*e-A">
                            <field name="TEXT">Zeile 2</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="timeouts_settimeout" id="Bk`+%Pw/7M4G2nIZ(Eyb">
                            <field name="NAME">timeout</field>
                            <field name="DELAY">5</field>
                            <field name="UNIT">sec</field>
                            <statement name="STATEMENT">
                              <block type="request" id="+?3J/s8x}#]+j~kqZ2]h">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                <field name="WITH_STATEMENT">FALSE</field>
                                <field name="LOG"></field>
                                <value name="URL">
                                  <shadow type="text" id=":.s5q/V3p*(7W^opVxuN">
                                    <field name="TEXT">Zeile 1</field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="request" id="p}74T,%{6l3Tv*(xilUb">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                    <field name="WITH_STATEMENT">FALSE</field>
                                    <field name="LOG"></field>
                                    <value name="URL">
                                      <shadow type="text" id="aE-[^q_{NLAX7UbOI:KG">
                                        <field name="TEXT">Zeile 2</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="timeouts_settimeout" id="9pi_G,t7L.?~(9x8k~GI">
                                        <field name="NAME">timeout2</field>
                                        <field name="DELAY">5</field>
                                        <field name="UNIT">sec</field>
                                        <statement name="STATEMENT">
                                          <block type="request" id="$2v(@4{Zv74OfHR+~#%N">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                            <field name="WITH_STATEMENT">FALSE</field>
                                            <field name="LOG"></field>
                                            <value name="URL">
                                              <shadow type="text" id="4UEGgVJJ%%lHKOq~m29%">
                                                <field name="TEXT">Zeile 1</field>
                                              </shadow>
                                            </value>
                                            <next>
                                              <block type="request" id="B1Z*iEJhLi3hjt.s*By?">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                <field name="WITH_STATEMENT">FALSE</field>
                                                <field name="LOG"></field>
                                                <value name="URL">
                                                  <shadow type="text" id="NwFRV-#8fr9JB7r(5!5A">
                                                    <field name="TEXT">Zeile 2</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </xml>
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            781
            Online

            32.0k
            Users

            80.3k
            Topics

            1.3m
            Posts

            3
            4
            429
            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