moves a robot using an accelerometer

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Revision:
0:69997732b823
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Robot.h	Tue Oct 03 11:41:34 2017 +0000
@@ -0,0 +1,21 @@
+class Robot {
+    public:
+    Robot();
+    Robot(int xPos, int yPos);
+    void setXPosition(int xPos);
+    void setYPosition(int yPos);
+    int getXPosition();
+    int getYPosition();
+    void moveForward(int numMove);
+    void moveBack(int numMove);
+    void moveRight(int numMove);
+    void moveLeft(int numMove);
+    void inputMove();
+    void displayPosition();
+    void draw();
+    void erase();
+    
+    private:
+    int xPosition;
+    int yPosition;
+};
\ No newline at end of file