![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Final
Fork of MiniProject5_LightTracker by
Diff: main.cpp
- Revision:
- 11:7b3d64a66efd
- Parent:
- 10:b7cebc1f3768
- Child:
- 12:7bc0afbc651a
--- a/main.cpp Mon Jan 11 22:46:35 2016 +0000 +++ b/main.cpp Mon Jan 11 23:27:38 2016 +0000 @@ -10,10 +10,12 @@ float angle; int main(){ -ServoInit(); + SegInit(); + ServoInit(); if(sensor1>sensor2){angle=angle+1;} if(sensor1>sensor2){angle=angle+1;} ServoControl(angle); + SegDisplay(10,1); +} -}