Ben Michael / Mbed 2 deprecated miniProject4

Dependencies:   mbed

Revision:
15:1eed07b5a5ba
Parent:
11:362594298828
Child:
17:fc23cf904932
--- a/servo.cpp	Mon Jan 14 05:09:32 2019 +0000
+++ b/servo.cpp	Mon Jan 14 07:00:31 2019 +0000
@@ -1,7 +1,7 @@
 #include "servo.h"
 #include "tempSnsr.h"
 
-PwmOut servo(p24);
+PwmOut servo(p23);
 
 int curDutyCycle = 1500; //1500 corresponds to zero degrees with a change of 10 changing the value by one degree
 bool curDirection = 0; //the direction the servo moved last. the actual direction doesn't matter, we just continue or turn around