dfd

Dependencies:   stepper mbed

Fork of puma_test by Keegan Hu

main.cpp

Committer:
Bilybill
Date:
2018-05-11
Revision:
0:2e00b81c9137
Child:
2:ecf401a37aa3

File content as of revision 0:2e00b81c9137:

#include "mbed.h"
#include "Stepper_motor.h"
#include "robo.h"
Serial Info(PB_10,PB_11);
Ticker t1;
Stepper_motor s1(PB_9,PB_0,PB_7,PA_11,10,16,1);
Stepper_motor s2(PB_6,PA_7,PB_4,PA_15,10,16,1);
Stepper_motor s3(PB_3,PA_6,PA_12,PB_1,10,16,1);
int main()
{
    s1.Init();
    s2.Init();
    s3.Init();//电机初始化
}