mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: make NeoPixel high-low proportions match for 0 and 1
This commit is contained in:
parent
3951d23f3a
commit
18d834ea3f
|
@ -406,7 +406,7 @@ public:
|
||||||
|
|
||||||
// See WS2812B spec for expected pulse widths
|
// See WS2812B spec for expected pulse widths
|
||||||
static constexpr uint32_t NEOP_BIT_WIDTH_TICKS = 8;
|
static constexpr uint32_t NEOP_BIT_WIDTH_TICKS = 8;
|
||||||
static constexpr uint32_t NEOP_BIT_0_TICKS = 3;
|
static constexpr uint32_t NEOP_BIT_0_TICKS = 2;
|
||||||
static constexpr uint32_t NEOP_BIT_1_TICKS = 6;
|
static constexpr uint32_t NEOP_BIT_1_TICKS = 6;
|
||||||
// neopixel does not use pulse widths at all
|
// neopixel does not use pulse widths at all
|
||||||
static constexpr uint32_t PROFI_BIT_0_TICKS = 7;
|
static constexpr uint32_t PROFI_BIT_0_TICKS = 7;
|
||||||
|
|
Loading…
Reference in New Issue