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-dev-f303 FastPWM3
Diff: PositionSensor/PositionSensor.cpp
- Revision:
- 6:4ee1cdc43aa8
- Parent:
- 5:51c6560bf624
- Child:
- 7:dc5f27756e02
--- a/PositionSensor/PositionSensor.cpp Sat Mar 12 18:45:22 2016 +0000
+++ b/PositionSensor/PositionSensor.cpp Sat Mar 12 19:55:52 2016 +0000
@@ -1,7 +1,7 @@
#include "mbed.h"
#include "PositionSensor.h"
-#include <math.h>
+//#include <math.h>
PositionSensorEncoder::PositionSensorEncoder(int CPR, float offset) {