Student lab skeleton code to test color LCD, 4 pushbuttons, and speaker setup. Moves a robot image on 4G sys LCD.
Dependencies: 4DGL-uLCD-SE PinDetect mbed
Robot.h
- Committer:
- 4180_1
- Date:
- 2015-01-23
- Revision:
- 0:343fbeea672c
File content as of revision 0:343fbeea672c:
class Robot { public: void draw() { //needs code here } void erase() { //needs code here } void moveForward(int distance) { //needs code here } void moveBackward(int distance) { //needs code here } void moveLeft(int distance) { //needs code here } void moveRight(int distance) { //needs code here } //needs code to init x,y Robot() { } private: int xPosition; int yPosition; };