diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2016-03-04 02:51:29 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2016-03-04 02:51:29 +0100 |
commit | e23d40cb1206d49f708938f28fafbe6c0563559a (patch) | |
tree | 84eba13d9651f291d5acdccd173aee01a7c90ec4 /decoder/test/rgb_led_ws281x/test.conf | |
parent | c999ec54b9a88d9dd32e527a824be47cc10883ba (diff) | |
download | sigrok-test-e23d40cb1206d49f708938f28fafbe6c0563559a.tar.gz sigrok-test-e23d40cb1206d49f708938f28fafbe6c0563559a.zip |
rgb_led_ws281x: Add a few test-cases.
Diffstat (limited to 'decoder/test/rgb_led_ws281x/test.conf')
-rw-r--r-- | decoder/test/rgb_led_ws281x/test.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/decoder/test/rgb_led_ws281x/test.conf b/decoder/test/rgb_led_ws281x/test.conf new file mode 100644 index 0000000..82fbebb --- /dev/null +++ b/decoder/test/rgb_led_ws281x/test.conf @@ -0,0 +1,24 @@ +test exception_samplerate + protocol-decoder rgb_led_ws281x + input misc/no-samplerate.sr + output rgb_led_ws281x exception match SamplerateError + +test ws281x_4ch_5mhz_snippet_ch0 + protocol-decoder rgb_led_ws281x channel din=0 + input led/ws281x/ws281x_4ch_5mhz_snippet.sr + output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch0.output + +test ws281x_4ch_5mhz_snippet_ch1 + protocol-decoder rgb_led_ws281x channel din=1 + input led/ws281x/ws281x_4ch_5mhz_snippet.sr + output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch1.output + +test ws281x_4ch_5mhz_snippet_ch2 + protocol-decoder rgb_led_ws281x channel din=2 + input led/ws281x/ws281x_4ch_5mhz_snippet.sr + output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch2.output + +test ws281x_4ch_5mhz_snippet_ch3 + protocol-decoder rgb_led_ws281x channel din=3 + input led/ws281x/ws281x_4ch_5mhz_snippet.sr + output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch3.output |