Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc MERLIN <marc_soft@merlins.org>2018-06-23 03:27:40 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2018-06-23 03:27:40 +0300
commitdcbf39933f51a2a0e4dfa0a2b3af4f50040df5c9 (patch)
tree7a1d2ee2986161bc415919dba1cddcafc6567240 /platforms/esp/8266/clockless_block_esp8266.h
parent385a56fa6318c8928c60042ddb78d65db2811876 (diff)
WAIT_TIME=50 to allow interrupts without breaking matrix output. (#596)
* WAIT_TIME=50 to allow interrupts without breaking matrix output. WAIT_TIME set to 5 was too short and FastLED aborted frames too early and restarted them incorrectly. (as explained by Daniel Garcia in https://plus.google.com/communities/109127054924227823508 ) Tested on ESP8266 with 768 LED matrix in both serialized output and 3x 256 output. * Update clockless_block_esp8266.h * Update clockless_esp8266.h
Diffstat (limited to 'platforms/esp/8266/clockless_block_esp8266.h')
-rw-r--r--platforms/esp/8266/clockless_block_esp8266.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/esp/8266/clockless_block_esp8266.h b/platforms/esp/8266/clockless_block_esp8266.h
index e3341d16..40c91612 100644
--- a/platforms/esp/8266/clockless_block_esp8266.h
+++ b/platforms/esp/8266/clockless_block_esp8266.h
@@ -17,7 +17,7 @@ extern uint32_t _frame_cnt;
extern uint32_t _retry_cnt;
#endif
-template <uint8_t LANES, int FIRST_PIN, int T1, int T2, int T3, EOrder RGB_ORDER = GRB, int XTRA0 = 0, bool FLIP = false, int WAIT_TIME = 5>
+template <uint8_t LANES, int FIRST_PIN, int T1, int T2, int T3, EOrder RGB_ORDER = GRB, int XTRA0 = 0, bool FLIP = false, int WAIT_TIME = 50>
class InlineBlockClocklessController : public CPixelLEDController<RGB_ORDER, LANES, PORT_MASK> {
typedef typename FastPin<FIRST_PIN>::port_ptr_t data_ptr_t;
typedef typename FastPin<FIRST_PIN>::port_t data_t;