| 数据搜索系统,热门电子元器件搜索 |
|
DFR0508 数据表(PDF) 13 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0508 数据表(HTML) 13 Page - DFROBOT |
|
13 / 18 page ![]() Sample Code *! * @file Motor_Stepper.ino * @brief DFRobot's Motor Drive * @n The example demonstrates one group of stepping motor and 2 groups of D.C motors work together at the same time, contains direction con trol of D.C motors and stepping motor. * @copyright [DFRobot](http://www.dfrobot.com), 2016 * @copyright GNU Lesser General Public License * @author [LiXin] * @version V1.0 * @date 2017-7-31 * @https://github.com/DFRobot/DFRobot_MotorStepper */ #include "Arduino.h" #include "Wire.h" #include "DFRobot_MotorStepper.h" /*****************Keywords instruction*****************/ //M3--->motor_Group_3--->[M3A(+),M3B(-)] //M4--->motor_Group_4--->[M4A(+),M4B(-)] //SA--->Stepper_Group_A--->[M1A(A+),M1B(A-),M2A(B+),M2B(B-)] //CW: rotate in positive direction //CCW: rotate in reverse //A0: Chip Selection Address 1 //A1: Chip Selection Address 2 //A2: Chip Selection Address 3 //A3: Chip Selection Address 4 /*****************Function instruction*****************/ //void start(float angle, uint16_t speed, uint8_t dir) //*This function can be used to start the motor |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |