]> sigrok.org Git - sigrok-test.git/commitdiff
Test for WS281x RGBW
authorStefan <redacted>
Thu, 4 Jun 2020 12:17:51 +0000 (14:17 +0200)
committerSoeren Apel <redacted>
Sat, 18 Jul 2020 21:04:59 +0000 (23:04 +0200)
yet dummy, as I could not execute the test myself.
Test data (ws281x_RGBW_4mhz_snippet.sr) is already available.

decoder/test/rgb_led_ws281x/test.conf

index dd4e791189d6d86965168ee7cbbb99bb6b5e511f..480b063b73042aecccdc94db1e3f0811ff4ff651 100644 (file)
@@ -27,3 +27,8 @@ test ws2812b_neopixel24_4mhz_snippet
        protocol-decoder rgb_led_ws281x channel din=0
        input led/ws2812b_neopixel24/ws2812b_neopixel24_4mhz_snippet.sr
        output rgb_led_ws281x annotation match ws2812b_neopixel24_4mhz_snippet.output
+
+test ws281x_rgbw_4mhz_snippet
+       protocol-decoder rgb_led_ws281x channel din=0 option type=RGBW
+       input led/ws281x_rgbw/ws281x_RGBW_4mhz_snippet.sr
+       output rgb_led_ws281x annotation match ws281x_RGBW_4mhz_snippet.output