![](/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:
- 13:d49cb8b52a1e
- Parent:
- 8:4d7b2dbdb694
- Child:
- 14:82248fb06e53
--- a/servo.cpp Thu May 05 23:56:48 2016 +0000 +++ b/servo.cpp Fri May 06 00:18:02 2016 +0000 @@ -31,4 +31,14 @@ void servo_stop(){ pin25.pulsewidth_us(1500); pin26.pulsewidth_us(1510); +} + +void servo_slowright(){ + pin25.pulsewidth_us(1550); + pin26.pulsewidth_us(1550); +} + +void servo_slowleft(){ + pin25.pulsewidth_us(1450); + pin26.pulsewidth_us(1450); } \ No newline at end of file