First revision of tactile mouse code

Revision:
0:f254a3cfe0f6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tactile_display.hpp	Mon Apr 08 16:57:36 2019 +0000
@@ -0,0 +1,28 @@
+#ifndef TACTILE_DISPLAY_HPP
+#define TACTILE_DISPLAY_HPP
+
+#include "mbed.h"
+#include "taxel.hpp"
+
+#include <vector>
+
+class tactileDisplay{
+    public:
+    tactileDisplay();
+    tactileDisplay(int x, int y);
+    tactileDisplay(int x, int y, int max);
+    ~tactileDisplay();
+    void zero();
+    int coordtoidx(int x, int y);
+    void setTaxel(int x, int y, int steps);
+    void stepDisplay();
+    
+    private:
+    int xSize;
+    int ySize;
+    int size;
+    int maxActive;
+    vector<taxel*> taxels;
+};
+
+#endif
\ No newline at end of file