<xml xmlns="https://bipes.net.br">
  <workspace>
    <field name="DEVICE">RPI_Pico</field>
    <field name="TIMESTAMP">1767082051771</field>
    <freeboard><![CDATA[{"version":1,"allow_edit":true,"plugins":[],"panes":[],"datasources":[],"columns":3}]]></freeboard>
    <databoard><![CDATA[{"currentWorkspace":"kvfgejtdtlhg0wfqod9","workspace:kvfgejtdtlhg0wfqod9":[]}]]></databoard> 
  </workspace>
  <variables>
    <variable id="j8kO6xd)(1*hc9K$/fFS">i</variable>
  </variables>
  <block type="pwm.init" id="Q#MctW)D_2HLENjB$J57" x="-687" y="-637">
    <field name="ID">7</field>
    <comment pinned="true" h="80" w="160">GPIO7使用PWM输出</comment>
    <value name="pin">
      <shadow type="pinout" id="k+DXrMb|.Yg=wcPcNn_z">
        <field name="DEVICE">RPI_Pico</field>
        <field name="PIN">7</field>
      </shadow>
    </value>
    <next>
      <block type="pwm.freq" id=":#H]}#Za^[25}HX5I#9m">
        <field name="ID">7</field>
        <value name="frequency">
          <shadow type="math_number" id="AZoc3ps[NB}vokdGR4uw">
            <field name="NUM">1000</field>
          </shadow>
        </value>
        <next>
          <block type="controls_for" id="yH++K%l+C|j)!WS$sbJB">
            <field name="VAR" id="j8kO6xd)(1*hc9K$/fFS">i</field>
            <comment pinned="true" h="80" w="160">通过设置PWM占空比，控制LED逐渐亮起</comment>
            <value name="FROM">
              <shadow type="math_number" id="b*:qw.sSr|,huBivlsGk">
                <field name="NUM">0</field>
              </shadow>
            </value>
            <value name="TO">
              <shadow type="math_number" id="f?%qhAW6lJ7pO{b?/62=">
                <field name="NUM">65000</field>
              </shadow>
            </value>
            <value name="BY">
              <shadow type="math_number" id="lY?LexWXlB8.I$S_MTr6">
                <field name="NUM">10000</field>
              </shadow>
            </value>
            <statement name="DO">
              <block type="text_print" id="7XculS9toE5Vx6,^j)D=">
                <value name="TEXT">
                  <shadow type="text" id="|kN?A.B+^Bkkb^Q_rx$]">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="variables_get" id="FZ3kt$!7nYE=j:b+k07i">
                    <field name="VAR" id="j8kO6xd)(1*hc9K$/fFS">i</field>
                  </block>
                </value>
                <next>
                  <block type="pwm.duty" id="1HT{5wAOKL,$-NLgSZ-q">
                    <field name="ID">7</field>
                    <value name="duty">
                      <shadow type="math_number" id="6?U2Z%F,}#9hf8]4*u7Y">
                        <field name="NUM">50</field>
                      </shadow>
                      <block type="variables_get" id="asJr*IphNyY,?]mz.naM">
                        <field name="VAR" id="j8kO6xd)(1*hc9K$/fFS">i</field>
                      </block>
                    </value>
                    <next>
                      <block type="delay" id="H.wf~`u^c`}SLY`5_kUI">
                        <field name="SCALE">sleep</field>
                        <value name="TIME">
                          <shadow type="math_number" id="xXeUBYOx;s8#~1*?Ig^q">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>