Simply creates a servo object from a motor object, to allow the control of the angle. uses the solar panel to look for the brightest spot, then stops.
Dependencies: mbed
Fork of Lab6_Basic by
Diff: Servo.h
- Revision:
- 1:aa0b85d0961c
- Parent:
- 0:61b18b631f94
- Child:
- 2:3540e1f2f0e1
--- a/Servo.h Wed Aug 17 19:07:22 2016 +0000 +++ b/Servo.h Wed Aug 17 19:16:04 2016 +0000 @@ -22,7 +22,7 @@ class Servo { public: - /** Create a servo object connected to the specified PwmOut pin + /** Create a servo object. * * @param pin AnalogIn pin to be feedback */