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: moves/moves.h
- Revision:
- 22:0ed9de464f40
- Child:
- 25:c740e6fd5dab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/moves/moves.h Fri May 03 09:34:05 2019 +0000 @@ -0,0 +1,17 @@ +#ifndef INCLUDED_MOVES_H +#define INCLUDED_MOVES_H +#include "robot.h" +extern Motor motor_lo, motor_li; //forward,backのピンを代入 + +void reset(); +void SetupMoves(); + +void straight(); +void turnLeft(); +void curveLeft(); +void turnRight(); +void curveRight(); +void turn(float target_degree);//回転角, 収束許容誤差 +void straightAndInfinity(float target_degree, float tolerance_degree);//角度を補正するのと前進 + +#endif \ No newline at end of file