{
  "blocks": {
    "languageVersion": 0,
    "blocks": [
      {
        "type": "APM_digital_motor_init",
        "id": "o9U6S(.O:eW`,G?_Sn6~",
        "x": 138,
        "y": 238,
        "fields": {
          "digital_motor_instance": "我的数字电机1",
          "port": "1",
          "direction": "True",
          "soft_break": true
        },
        "next": {
          "block": {
            "type": "controls_whileUntil",
            "id": "A7pwiz[ucN;_|`mH59Lk",
            "fields": {
              "MODE": "WHILE"
            },
            "inputs": {
              "BOOL": {
                "block": {
                  "type": "logic_boolean",
                  "id": "!]y+rf3kwA$EexJa{n{s",
                  "fields": {
                    "BOOL": "TRUE"
                  }
                }
              },
              "DO": {
                "block": {
                  "type": "APM_digital_motor_openloop",
                  "id": "4^]=Ox0#d|Y#y=Ue]4@n",
                  "fields": {
                    "instance": "我的数字电机1"
                  },
                  "inputs": {
                    "speed": {
                      "shadow": {
                        "type": "math_number",
                        "id": "My}i0c{RxgD5)f(ai]~r",
                        "fields": {
                          "NUM": 50
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    ]
  }
}