| 전자부품 데이터시트 검색엔진 |
|
DFR0508 데이터시트(PDF) 14 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0508 데이터시트(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); } |
|
|
링크 URL |
| 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 |