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: ActiveCell.h
- Revision:
- 9:699054d8510b
- Parent:
- 7:3a755ebe4eaf
- Child:
- 10:32c65de8ff37
--- a/ActiveCell.h Fri Apr 05 16:26:58 2019 +0000
+++ b/ActiveCell.h Mon Apr 08 21:25:14 2019 +0000
@@ -60,7 +60,7 @@
distance = sqrt(pow((float)abs(x0 - xt), 2) + pow((float)abs(y0 - yt), 2));
//////angle/////////////
- angle = atan2((float)yt-y0,(float)xt-x0)*180/3.14159265358979323846;
+ angle = atan2((float)yt-y0,(float)xt-x0)*180/3.14159265358979323846f;
sectorK=angle/res;
if(sectorK<0)
sectorK=30+sectorK;