This project is a DIY mbed version of your favorite childhood game
Dependencies: mbed 4DGL-uLCD-SE LCD_fonts SDFileSystem MMA8452
Diff: CursorController.cpp
- Revision:
- 0:bce994168592
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CursorController.cpp Sun Apr 14 01:39:35 2019 +0000 @@ -0,0 +1,10 @@ +#include "CursorController.h" + + +int CursorController::getX(){ + return (int)(XPot * 128); + } + +int CursorController::getY(){ + return (int)(YPot * 128); + } \ No newline at end of file