![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
The servo version of SCRIBE
Dependencies: BLE_nRF8001 BNO055 HC_SR04_Ultrasonic_Library mbed-rtos mbed
Fork of SCRIBE_stepper by
Diff: servo.cpp
- Revision:
- 14:82248fb06e53
- Parent:
- 13:d49cb8b52a1e
--- a/servo.cpp Fri May 06 00:18:02 2016 +0000 +++ b/servo.cpp Thu May 12 06:17:49 2016 +0000 @@ -9,8 +9,10 @@ } void servo_f(){ - pin25.pulsewidth_us(1300); - pin26.pulsewidth_us(1700); + //pin25.pulsewidth_us(1300); + //pin26.pulsewidth_us(1700); + pin25.pulsewidth_us(1350); + pin26.pulsewidth_us(1650); } void servo_b(){ @@ -30,7 +32,7 @@ void servo_stop(){ pin25.pulsewidth_us(1500); - pin26.pulsewidth_us(1510); + pin26.pulsewidth_us(1515); } void servo_slowright(){