]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/nunchuk/wii_nunchuk_data_button_c.output
nunchuk: Add a few test-cases.
[sigrok-test.git] / decoder / test / nunchuk / wii_nunchuk_data_button_c.output
diff --git a/decoder/test/nunchuk/wii_nunchuk_data_button_c.output b/decoder/test/nunchuk/wii_nunchuk_data_button_c.output
new file mode 100644 (file)
index 0000000..ae590cc
--- /dev/null
@@ -0,0 +1,11 @@
+549872-549954 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75"
+550045-550129 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F"
+550221-550303 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x1C0" "AX[9:2]: 0x1C0"
+550405-550489 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x158" "AY[9:2]: 0x158"
+550583-550665 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x27C" "AZ[9:2]: 0x27C"
+550841-550851 nunchuk: bit-bz: "Z: not pressed" "BZ: 1"
+550831-550841 nunchuk: bit-bc: "C: pressed" "BC: 0"
+550810-550831 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x3" "AX[1:0]: 0x3"
+550790-550810 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x2" "AY[1:0]: 0x2"
+550769-550790 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x3" "AZ[1:0]: 0x3"
+549872-550959 nunchuk: summary: "Analog stick: 117/127, accelerometer: 451/346/639, Z: not pressed, C: pressed"