{
  "blocks": {
    "languageVersion": 0,
    "blocks": [
      {
        "type": "APM_digital_motor_init",
        "id": "]k`F]K%gotW:C{uPc0oQ",
        "x": -87,
        "y": 13,
        "fields": {
          "digital_motor_instance": "我的数字电机1",
          "port": "1",
          "direction": "True",
          "soft_break": false
        },
        "next": {
          "block": {
            "type": "APM_digital_motor_openloop",
            "id": ",^y*3$7=r=kvvb2|,`e%",
            "fields": {
              "instance": "我的数字电机1"
            },
            "inputs": {
              "speed": {
                "shadow": {
                  "type": "math_number",
                  "id": "evv(Pv+X/viULtwtTkw+",
                  "fields": {
                    "NUM": 50
                  }
                }
              }
            },
            "next": {
              "block": {
                "type": "time_sleep",
                "id": "OmGqV0$Oq.cog.1?}+3b",
                "inputs": {
                  "second": {
                    "shadow": {
                      "type": "math_number",
                      "id": "y9T~R$)Z%V%+kgQaihU6",
                      "fields": {
                        "NUM": 1
                      }
                    }
                  }
                },
                "next": {
                  "block": {
                    "type": "controls_whileUntil",
                    "id": "(,J-{P{~8K(APYw{TH?e",
                    "fields": {
                      "MODE": "WHILE"
                    },
                    "inputs": {
                      "BOOL": {
                        "block": {
                          "type": "logic_boolean",
                          "id": ";vy](-%CraBuL}$s(mG6",
                          "fields": {
                            "BOOL": "TRUE"
                          }
                        }
                      },
                      "DO": {
                        "block": {
                          "type": "APM_digital_motor_openloop",
                          "id": "[_37xKpD)~ly`a_4qO2;",
                          "fields": {
                            "instance": "我的数字电机1"
                          },
                          "inputs": {
                            "speed": {
                              "shadow": {
                                "type": "math_number",
                                "id": "k/uPq+y=~RJY:DR$Gim,",
                                "fields": {
                                  "NUM": -50
                                }
                              }
                            }
                          },
                          "next": {
                            "block": {
                              "type": "time_sleep",
                              "id": "Cu[Vow7Z9f?LK_fy/E:E",
                              "inputs": {
                                "second": {
                                  "shadow": {
                                    "type": "math_number",
                                    "id": "~yJ,yj^[d`R8a}@LcyI8",
                                    "fields": {
                                      "NUM": 2
                                    }
                                  }
                                }
                              },
                              "next": {
                                "block": {
                                  "type": "APM_digital_motor_openloop",
                                  "id": "|om5SKmT~@mG:vLMfdh]",
                                  "fields": {
                                    "instance": "我的数字电机1"
                                  },
                                  "inputs": {
                                    "speed": {
                                      "shadow": {
                                        "type": "math_number",
                                        "id": "wlu.VF.}2Quim1%TS~?E",
                                        "fields": {
                                          "NUM": 50
                                        }
                                      }
                                    }
                                  },
                                  "next": {
                                    "block": {
                                      "type": "time_sleep",
                                      "id": "DBLBn)NTIrANR`rsg!#p",
                                      "inputs": {
                                        "second": {
                                          "shadow": {
                                            "type": "math_number",
                                            "id": "oQ}4VS(u-uojXN%5/n13",
                                            "fields": {
                                              "NUM": 2
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    ]
  }
}