Browse Source

Use timing values more accurate to internal clock

S3
jrhoffa 3 years ago
parent
commit
2c5b1fcef6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main/rmt_leds.cpp

+ 1
- 1
main/rmt_leds.cpp View File

@@ -7,7 +7,7 @@ static const char *TAG = "rmt_leds";
#include "rmt_leds.hpp" #include "rmt_leds.hpp"




#define WS2811_PULSE_WIDTH_NS 833
#define WS2811_PULSE_WIDTH_NS 825
#define WS2811_RESET_WIDTH_US 300 #define WS2811_RESET_WIDTH_US 300


// Each pulse is divided into thirds - two high / one low for 1, vice versa for 0 // Each pulse is divided into thirds - two high / one low for 1, vice versa for 0


Loading…
Cancel
Save