Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mecanum2017.cpp
- Revision:
- 10:1a2fe21bfdb2
- Parent:
- 9:a8b055438779
--- a/mecanum2017.cpp Fri Sep 22 02:26:06 2017 +0000
+++ b/mecanum2017.cpp Wed Sep 27 10:40:03 2017 +0000
@@ -2,7 +2,7 @@
#include "T_motor.h"
#include "mecanum2017.h"
-mecanum2017::mecanum2017(I2C& i2c_, float para[], char addr[], int phase) //paraはモーターの回転方向を±1で表すよ いつもは全部+1だよ
+mecanum2017::mecanum2017(I2C* i2c_, float para[], char addr[], int phase) //paraはモーターの回転方向を±1で表すよ いつもは全部+1だよ
: m1(i2c_, addr[0]), m2(i2c_, addr[1]), m3(i2c_, addr[2]), m4(i2c_, addr[3])
{
para1 = para[0];