試作テストバージョン

Dependencies:   BLE_API TB6612FNG mbed

Fork of BLE_RCBController2 by Junichi Katsu

Revision:
0:8c643bfe55b7
Child:
1:48f6e08a3ac2
diff -r 000000000000 -r 8c643bfe55b7 RCBController.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RCBController.h	Thu Jul 10 14:21:52 2014 +0000
@@ -0,0 +1,32 @@
+typedef union
+{
+	struct  {
+		unsigned UP		: 1;
+		unsigned DOWN	: 1;
+		unsigned RIGHT	: 1;
+		unsigned LEFT	: 1;
+		unsigned Y		: 1;
+		unsigned A		: 1;
+		unsigned B		: 1;
+		unsigned X		: 1;
+		unsigned L1		: 1;
+		unsigned L2		: 1;
+		unsigned R1		: 1;
+		unsigned R2		: 1;
+		unsigned START	: 1;
+		unsigned SERECT	: 1;
+		unsigned space	: 2;
+		unsigned LeftAnalogLR:8;
+		unsigned LeftAnalogUD:8;
+		unsigned RightAnalogLR:8;
+		unsigned RightAnalogUD:8;
+		unsigned AcceleX:8;
+		unsigned AcceleY:8;
+		unsigned AcceleZ:8;
+		unsigned DEV_DIR:4;
+		unsigned RIGHT_ANALOG:1;
+		unsigned LEFT_ANALOG:1;
+		unsigned ACCELE_SETTING:2;
+	}status;
+	unsigned char data[10];
+}RCBController;
\ No newline at end of file