]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/nunchuk/test.conf
nunchuk: Add a few test-cases.
[sigrok-test.git] / decoder / test / nunchuk / test.conf
diff --git a/decoder/test/nunchuk/test.conf b/decoder/test/nunchuk/test.conf
new file mode 100644 (file)
index 0000000..708dbff
--- /dev/null
@@ -0,0 +1,6 @@
+test wii_nunchuk_data_button_c
+       protocol-decoder i2c channel scl=0 channel sda=1
+       protocol-decoder nunchuk
+       stack i2c nunchuk
+       input i2c/wii_nunchuk/wii_nunchuk_data_button_c.sr
+       output nunchuk annotation match wii_nunchuk_data_button_c.output