R1370 library only get gyro
Dependents: quadOmni_yanagi R1370 gyro_test wheel_test3 wheel_test3 ... more
Fork of R1307 by
Diff: R1370.cpp
- Revision:
- 4:96f91d9e3bff
- Parent:
- 2:30d8a4f08cbd
diff -r 30d8a4f08cbd -r 96f91d9e3bff R1370.cpp --- a/R1370.cpp Mon Sep 04 02:58:59 2017 +0000 +++ b/R1370.cpp Mon Sep 04 05:32:58 2017 +0000 @@ -4,7 +4,7 @@ { R1370::serial.baud(115200); } -int R1370::reciveState() +int R1370::update() { int i; if((data[0]=serial.getc())==0xAA){