| Electronic Components Datasheet Search |
|
DFR0508 Datasheet(PDF) 14 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0508 Datasheet(HTML) 14 Page - DFROBOT |
|
14 / 18 page ![]() //*angle: Set the Angle Min:0°(If the Angle is equal to 0°,The motor will not stop spinning) //*speed: Set the speed Min:8 //*dir: Set Orientation CW or CCW //void getDir() //*This function can get the current rotation direction of the motor DFRobot_Stepper stepperA(SA); DFRobot_Motor motor4(M4); void reverse_4() { motor4.start(!motor4.getDir()); } void reverse_SA() { stepperA.start(0, 12, !stepperA.getDir()); } void setup() { //initialize serial communication at 9600 bits per second: Serial.begin(115200); //join i2c bus (address optional for master) Wire.begin(); //Initialize motor drive chip of stepping motor (Group A) and ¾ group of D. C motor stepperA.init(); motor4.init(); //Set the initial direction motor4.start(CW); stepperA.start(0, 12, CW); delay(1500); } |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |