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.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 6:434bb72ffc26
- Parent:
- 5:aab0171a8065
- Child:
- 7:1818632c0b60
--- a/main.cpp Thu Jun 16 19:29:17 2016 +0000 +++ b/main.cpp Thu Jun 16 20:18:42 2016 +0000 @@ -20,7 +20,7 @@ /////////////////////////////globle -double NowCoordinate[2]; +double NowCoordinate[2], LastCoordinate[2]; double NowFaceAngle, NowDirectionInRad; long SelfRotation; double TargetCoordinate[2]; @@ -28,10 +28,10 @@ bool TargetCoordinateValid; double Car1XforStra1, Car1YforStra1, Car1DirectionforStra1, BlueBallXforStra1, BlueBallYforStra1, GreenBallXforStra1, GreenBallYforStra1; double Car2XforStra1, Car2YforStra1, Car2DirectionforStra1; - +int WatchDogCounts = 0; ///////////////////////////////////////// - +#include "WatchDog.h" #include "DebugBluetooth.h" #include "OutputToMotor.h" #include "Interrupt.h"