
complete motor
Dependencies: BufferedSerial motor_sn7544
Revision 12:da4fb0d541ca, committed 2019-08-06
- Comitter:
- kangmingyo
- Date:
- Tue Aug 06 08:33:42 2019 +0000
- Parent:
- 11:2228e8931266
- Child:
- 13:3ac8d2472417
- Commit message:
- hh; ]; ; ; ; ;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
motor.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Jul 11 13:30:27 2019 +0000 +++ b/main.cpp Tue Aug 06 08:33:42 2019 +0000 @@ -25,7 +25,8 @@ ros::Publisher flaw_info_pub("flaw_info", &flaw_info); ros::Publisher curr_vel_pub("curr_vel", &curr_vel); -MotorCtl motor1(D3,D12,D4,D5); +BusOut bus(D11,D12); +MotorCtl motor1(D3,bus,D4,D5); InterruptIn tachoINT1(D4); InterruptIn tachoINT2(D5); //Serial pc(USBTX,USBRX,115200);
--- a/motor.lib Thu Jul 11 13:30:27 2019 +0000 +++ b/motor.lib Tue Aug 06 08:33:42 2019 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/Jeonghoon/code/motor/#4fa7fadc583d +https://os.mbed.com/users/kangmingyo/code/motor_sn7544/#b1c5a0cf4a9b