Merge branch 'servo-fix'
closes https://github.com/bbc/microbit-extras/issues/2863
This commit is contained in:
commit
cf34eacd94
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 1000
|
||||
#define MICROBIT_PIN_DEFAULT_SERVO_CENTER MICROBIT_PIN_DEFAULT_SERVO_RANGE + MICROBIT_PIN_DEFAULT_SERVO_RANGE/2
|
||||
#define MICROBIT_PIN_DEFAULT_SERVO_RANGE 2000
|
||||
#define MICROBIT_PIN_DEFAULT_SERVO_CENTER 1500
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue