This project is a DIY mbed version of your favorite childhood game

Dependencies:   mbed 4DGL-uLCD-SE LCD_fonts SDFileSystem MMA8452

CursorController.h

Committer:
aklaussen
Date:
2019-04-14
Revision:
0:bce994168592

File content as of revision 0:bce994168592:

#include "mbed.h"
class CursorController {
    public:
        AnalogIn XPot;
        AnalogIn YPot;
        CursorController():XPot(p19), YPot(p20){};
        int getX();
        int getY();
    };