============================================================================ Helper: Create ChipsetTiming for WS2812 (standard test case) ============================================================================
| 29 | // Helper: Create ChipsetTiming for WS2812 (standard test case) |
| 30 | // ============================================================================ |
| 31 | ChipsetTiming 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 |