Electronic device with plurality of motors connected in series and motor number setting method thereof
The invention relates to an electronic device with a plurality of motors connected in series and a motor number setting method thereof. The motor number setting method applied to the electronic deviceis characterized in that the electronic device is provided with a micro-processing unit and a plural...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to an electronic device with a plurality of motors connected in series and a motor number setting method thereof. The motor number setting method applied to the electronic deviceis characterized in that the electronic device is provided with a micro-processing unit and a plurality of motors connected in series with a communication port of the micro-processing unit. When a set program is executed, the micro-processing unit acquires the number of the plurality of motors and scans the communication port to acquire the number of each motor on the communication port. Then, the microprocessor unit judges whether the number of the different numbers is the same as the number of the motors on the communication port. If the number of the different numbers is different from thenumber of the motors, the micro-processing unit sends a random number instruction to the motors with the same number, so that the motors respectively execute a random number program and generate newnumbers. Moreover, the micr |
---|