Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE PinDetect mbed
Robot.h
00001 class Robot { 00002 public: 00003 Robot(); 00004 Robot(int xPos, int yPos); 00005 void setXPosition(int xPos); 00006 void setYPosition(int yPos); 00007 int getXPosition(); 00008 int getYPosition(); 00009 void moveForward(int numMove); 00010 void moveBack(int numMove); 00011 void moveRight(int numMove); 00012 void moveLeft(int numMove); 00013 void inputMove(); 00014 void displayPosition(); 00015 void draw(); 00016 void erase(); 00017 00018 private: 00019 int xPosition; 00020 int yPosition; 00021 };
Generated on Fri Jul 15 2022 14:00:51 by
1.7.2