![](/media/cache/profiles/3b56beb4fb3143ab7f05335134909435.50x50_q85.jpg)
Build upon app-board-Servo. Print servo readings, scaled to [0.0, 1.0], to LCD on mbed Application Board. Scale reading to [0 - 270] range of typical servo. Print servo angles to LCD on mbed Application Board.
Dependencies: C12832_lcd Servo mbed
Fork of app-board-Servo by
Diff: main.cpp
- Revision:
- 2:85693b6a99fa
- Parent:
- 1:08d46aff0a08
- Child:
- 3:58ae2860725e
--- a/main.cpp Tue Oct 08 03:56:11 2013 +0000 +++ b/main.cpp Tue Oct 08 04:01:19 2013 +0000 @@ -14,7 +14,7 @@ float panT =0, tiltT = 0; //Total holders for summation from axis arrays float PANa, TILTa; //averaged values for each axis over n -float pan[n], tilt[n]; //arrays to hold n readings for each axis +float pan[n], tilt[n]; //arrays to hold n readings for each axis int i, j; //indexing variables int main()