2017_hongo_Bteam

Dependents:   DataPool

Revision:
0:31116bc8d4a7
Child:
1:a2572a29fe59
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BetaTransporter.h	Fri Aug 18 07:35:50 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 0x0b
+#endif
+
+#ifndef BETA_TRANSPORTER_H
+#define BETA_TRANSPORTER_H
+
+#include "DataPool.h"
+#include "BetaPool.h"
+#include "I2CTransporter.h"
+
+class BetaTransporter : public DataPool
+{
+    public:
+        BetaTransporter();
+    
+        virtual bool set();
+        virtual int read(int index_num);
+        virtual void reset();
+        
+        BetaPool pool;
+        
+    private:
+        I2CTransporter i2c;
+};
+
+#endif
\ No newline at end of file