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:
parent
9af7a4fadf
commit
cfbf122eb1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue