for_gamma

Dependents:   DataPool

Revision:
0:519ec302e9b8
Child:
1:8eeedbc40657
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GammaTransporter.h	Fri Aug 18 03:12:18 2017 +0000
@@ -0,0 +1,43 @@
+#ifndef SDA
+#define SDA PB_7
+#endif
+
+#ifndef SCL
+#define SCL PB_6
+#endif
+
+#ifndef SCL
+#define SCL PB_6
+#endif
+
+#ifndef JUSHINKUN_ADDR
+#define JUSHINKUN_ADDR 0x12
+#endif
+
+#ifndef APPER_BODY_ADDR
+#define APPER_BODY_ADDR 0x11
+#endif
+
+#ifndef GAMMA_TRANSPORTER_H
+#define GAMMA_TRANSPORTER_H
+
+#include "DataPool.h"
+#include "GammaPool.h"
+#include "I2CTransporter.h"
+
+class GammaTransporter : DataPool
+{
+    public:
+        GammaTransporter();
+    
+        virtual bool set();
+        virtual int read(int index_num);
+        virtual void reset();
+        
+        GammaPool pool;
+        
+    private:
+        I2CTransporter i2c;
+};
+
+#endif
\ No newline at end of file