asdf
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 #include "mbed.h" 00002 #include "Stepper_motor.h" 00003 #include "robo.h" 00004 Serial Info(PB_10,PB_11); 00005 Ticker t1; 00006 Stepper_motor s1(PB_9,PB_0,PB_7,PA_11,10,16,1); 00007 Stepper_motor s2(PB_6,PA_7,PB_4,PA_15,10,16,1); 00008 Stepper_motor s3(PB_3,PA_6,PA_12,PB_1,10,16,1); 00009 int main() 00010 { 00011 s1.Init(); 00012 s2.Init(); 00013 s3.Init();//电机初始化 00014 }
Generated on Mon Jul 18 2022 03:14:21 by
1.7.2