Denver trai project

Dependencies:   mbed TextLCD

Revision:
35:cfcfeccb959e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/position.cpp	Thu Jun 14 10:14:59 2018 +0000
@@ -0,0 +1,28 @@
+#include <vector>
+using namespace std;
+class Position{
+    private:
+        int position; 
+        vector <int> previous_cw;
+        vector <int> previous_ccw;
+    public:
+        Position(int p){
+            position = p;
+        }
+
+        vector <int> get_previous_cw(){
+            return previous_cw;    
+        }
+        
+        vector <int> get_previous_ccw(){
+            return previous_ccw;    
+        }
+        
+        void add_prev_cw(int pos){
+            previous_cw.push_back(pos);
+        };
+        
+        void add_prev_ccw(int pos){
+            previous_ccw.push_back(pos);
+        };
+};
\ No newline at end of file