2017_hongo_Bteam

Dependents:   DataPool

Revision:
1:a2572a29fe59
Parent:
0:31116bc8d4a7
Child:
2:503337abcb4a
diff -r 31116bc8d4a7 -r a2572a29fe59 BetaTransporter.cpp
--- a/BetaTransporter.cpp	Fri Aug 18 07:35:50 2017 +0000
+++ b/BetaTransporter.cpp	Fri Aug 25 07:37:05 2017 +0000
@@ -29,6 +29,12 @@
     return no_error;
 }
 
+void BetaTransporter::write(int index_num, int data)
+{
+    pool.data_index[index_num] = data;
+}
+
+
 int BetaTransporter::read(int index_num)
 {
     return pool.data_index[index_num];