MCPcopy Create free account
hub / github.com/FastLED/FastLED / createWS2812ChipsetTiming

Function createWS2812ChipsetTiming

tests/fl/channels/wave8_spi.cpp:31–37  ·  view source on GitHub ↗

============================================================================ Helper: Create ChipsetTiming for WS2812 (standard test case) ============================================================================

Source from the content-addressed store, hash-verified

29// Helper: Create ChipsetTiming for WS2812 (standard test case)
30// ============================================================================
31ChipsetTiming createWS2812ChipsetTiming() {
32 ChipsetTiming timing;
33 timing.T1 = 800; // bit1 HIGH time: 800nsyhj
34 timing.T2 = 400; // bit1 LOW time: 400ns
35 timing.T3 = 400; // bit0 HIGH time: 400ns
36 return timing;
37}
38
39// Note: convertSpiTimingToChipsetTiming() tests are skipped in stub platform tests
40// because they require ESP32-specific headers. These will be tested in integration

Callers 1

FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected