{
  "blocks": {
    "languageVersion": 0,
    "blocks": [
      {
        "type": "APM_digital_motor_init",
        "id": "w~NOy,}]Yb4flNUob$u%",
        "x": 213,
        "y": 213,
        "fields": {
          "digital_motor_instance": "我的数字电机1",
          "port": "1",
          "direction": "True",
          "soft_break": true
        },
        "next": {
          "block": {
            "type": "variables_set",
            "id": "1e(#*fsvPc#*.DN_W5,y",
            "fields": {
              "VAR": {
                "id": "N(pG{)7BwXjq3)ZLTV%;"
              }
            },
            "inputs": {
              "VALUE": {
                "block": {
                  "type": "math_number",
                  "id": "-hgZ2@{Js]AG-vBL7:+Y",
                  "fields": {
                    "NUM": 0
                  }
                }
              }
            },
            "next": {
              "block": {
                "type": "controls_repeat_ext",
                "id": "|vmT?c#ecfCYCt}d5=:b",
                "inputs": {
                  "TIMES": {
                    "block": {
                      "type": "math_number",
                      "id": ".o4|/Mp5UvAE@i:)BrPs",
                      "fields": {
                        "NUM": 50
                      }
                    }
                  },
                  "DO": {
                    "block": {
                      "type": "APM_digital_motor_openloop",
                      "id": "|pPOwHIB}PHTm}(]bS(d",
                      "fields": {
                        "instance": "我的数字电机1"
                      },
                      "inputs": {
                        "speed": {
                          "shadow": {
                            "type": "math_number",
                            "id": ")?mo%BpN)X2N!?^zSz]N",
                            "fields": {
                              "NUM": 0
                            }
                          },
                          "block": {
                            "type": "variables_get",
                            "id": "X20-A:?TS5bSwhp)O8!o",
                            "fields": {
                              "VAR": {
                                "id": "N(pG{)7BwXjq3)ZLTV%;"
                              }
                            }
                          }
                        }
                      },
                      "next": {
                        "block": {
                          "type": "variables_set",
                          "id": "x5P$]NzF~*@U_yX8rkBs",
                          "fields": {
                            "VAR": {
                              "id": "N(pG{)7BwXjq3)ZLTV%;"
                            }
                          },
                          "inputs": {
                            "VALUE": {
                              "block": {
                                "type": "math_arithmetic",
                                "id": "hu=@]Zb(j~*WuVzp,3/f",
                                "fields": {
                                  "OP": "ADD"
                                },
                                "inputs": {
                                  "A": {
                                    "block": {
                                      "type": "variables_get",
                                      "id": "B!5@CZ|pQ6x$vz]B-$=1",
                                      "fields": {
                                        "VAR": {
                                          "id": "N(pG{)7BwXjq3)ZLTV%;"
                                        }
                                      }
                                    }
                                  },
                                  "B": {
                                    "block": {
                                      "type": "math_number",
                                      "id": "U_h(:_9.;a05A#qT-f@w",
                                      "fields": {
                                        "NUM": 1
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "next": {
                            "block": {
                              "type": "time_sleep",
                              "id": "knYX:/V9h$|mMCdELp__",
                              "inputs": {
                                "second": {
                                  "shadow": {
                                    "type": "math_number",
                                    "id": "H-K,%yG]P^J68j-9,m?{",
                                    "fields": {
                                      "NUM": 0.1
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "next": {
                  "block": {
                    "type": "controls_repeat_ext",
                    "id": "GCqq.LDQryYC#L.~BMJu",
                    "inputs": {
                      "TIMES": {
                        "block": {
                          "type": "math_number",
                          "id": "Lun_kzB$tOWh@#Rw[Ts,",
                          "fields": {
                            "NUM": 5
                          }
                        }
                      },
                      "DO": {
                        "block": {
                          "type": "APM_digital_motor_openloop",
                          "id": "eLcii.W~;+.pUJWhQ(z1",
                          "fields": {
                            "instance": "我的数字电机1"
                          },
                          "inputs": {
                            "speed": {
                              "shadow": {
                                "type": "math_number",
                                "id": ")?mo%BpN)X2N!?^zSz]N",
                                "fields": {
                                  "NUM": 0
                                }
                              },
                              "block": {
                                "type": "variables_get",
                                "id": "aL(!rx%66fQ,C@fyHbYy",
                                "fields": {
                                  "VAR": {
                                    "id": "N(pG{)7BwXjq3)ZLTV%;"
                                  }
                                }
                              }
                            }
                          },
                          "next": {
                            "block": {
                              "type": "time_sleep",
                              "id": "iCnUILiq|5nqTv,(IvjR",
                              "inputs": {
                                "second": {
                                  "shadow": {
                                    "type": "math_number",
                                    "id": "@_?mKqT]Nf+vm/Y4+f~d",
                                    "fields": {
                                      "NUM": 1
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "next": {
                      "block": {
                        "type": "controls_repeat_ext",
                        "id": "L!twm5QfCe9_`%q*A{-G",
                        "inputs": {
                          "TIMES": {
                            "block": {
                              "type": "math_number",
                              "id": ")t1wOn48YGP)#9vwuT}9",
                              "fields": {
                                "NUM": 50
                              }
                            }
                          },
                          "DO": {
                            "block": {
                              "type": "APM_digital_motor_openloop",
                              "id": "xjm9)0PR#6HHJPivwX*V",
                              "fields": {
                                "instance": "我的数字电机1"
                              },
                              "inputs": {
                                "speed": {
                                  "shadow": {
                                    "type": "math_number",
                                    "id": ")?mo%BpN)X2N!?^zSz]N",
                                    "fields": {
                                      "NUM": 0
                                    }
                                  },
                                  "block": {
                                    "type": "variables_get",
                                    "id": "E6qUUM)J?tB%*H4KOct[",
                                    "fields": {
                                      "VAR": {
                                        "id": "N(pG{)7BwXjq3)ZLTV%;"
                                      }
                                    }
                                  }
                                }
                              },
                              "next": {
                                "block": {
                                  "type": "variables_set",
                                  "id": "-g9DW)s!{S[EGTwC)ZlB",
                                  "fields": {
                                    "VAR": {
                                      "id": "N(pG{)7BwXjq3)ZLTV%;"
                                    }
                                  },
                                  "inputs": {
                                    "VALUE": {
                                      "block": {
                                        "type": "math_arithmetic",
                                        "id": "fo#hlK%OwLKND30+okv/",
                                        "fields": {
                                          "OP": "MINUS"
                                        },
                                        "inputs": {
                                          "A": {
                                            "block": {
                                              "type": "variables_get",
                                              "id": "te`QX.C)S(:(MvNoPuyR",
                                              "fields": {
                                                "VAR": {
                                                  "id": "N(pG{)7BwXjq3)ZLTV%;"
                                                }
                                              }
                                            }
                                          },
                                          "B": {
                                            "block": {
                                              "type": "math_number",
                                              "id": "Pp!RmhDPB77/NGh9.ls5",
                                              "fields": {
                                                "NUM": 1
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  },
                                  "next": {
                                    "block": {
                                      "type": "time_sleep",
                                      "id": "%4~#|,J2*LPvQ1d!WO*S",
                                      "inputs": {
                                        "second": {
                                          "shadow": {
                                            "type": "math_number",
                                            "id": "w6{wa+WE#.|Y!oayb*T5",
                                            "fields": {
                                              "NUM": 0.1
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    ]
  },
  "variables": [
    {
      "name": "sudu",
      "id": "N(pG{)7BwXjq3)ZLTV%;"
    }
  ]
}