Dependents:   LPC1114_GVD

Revision:
0:0ee1a4a231ac
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BitAccess.h	Thu Aug 04 00:45:20 2016 +0000
@@ -0,0 +1,18 @@
+/*共用体を使用せず変数にビット単位でアクセスするためのライブラリ*/
+
+class BitAccess
+{
+public:
+    BitAccess();
+    void setByte(char data);
+    bool b0;
+    bool b1;
+    bool b2;
+    bool b3;
+    bool b4;
+    bool b5;
+    bool b6;
+    bool b7;
+private:
+    unsigned char Byte;
+};
\ No newline at end of file