microbit-dal: reverted changes to the servo API behaviour

At the request of @markjoyce, the changes to the servo API have been reverted pending BBC approval.

https://github.com/bbc/microbit-extras/issues/2863
This commit is contained in:
James Devine 2016-02-29 17:28:05 +00:00
parent 9af7a4fadf
commit cfbf122eb1

View file

@ -35,8 +35,8 @@
#define MICROBIT_PIN_MAX_OUTPUT 1023
#define MICROBIT_PIN_MAX_SERVO_RANGE 180
#define MICROBIT_PIN_DEFAULT_SERVO_RANGE 2000
#define MICROBIT_PIN_DEFAULT_SERVO_CENTER 1500
#define MICROBIT_PIN_DEFAULT_SERVO_RANGE 1000
#define MICROBIT_PIN_DEFAULT_SERVO_CENTER MICROBIT_PIN_DEFAULT_SERVO_RANGE + MICROBIT_PIN_DEFAULT_SERVO_RANGE/2
/**