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.
Map/Map.h
- Committer:
- el17ttds
- Date:
- 2019-05-06
- Revision:
- 3:3d35ab70b565
- Parent:
- 2:ee9b361ba6df
- Child:
- 4:3446009e2f38
File content as of revision 3:3d35ab70b565:
#include "mbed.h" #include "N5110.h" #include "Gamepad.h" class Map { public: Map(); void init(int width, int height, int swidth, int sheight); void write(int pix_x, int pix_y); void draw(N5110 &lcd); private: int _w; int _h; int _x1; int _x2; int _y1; int _y2; int _swidth; int _sheight; int _x1_pos; int _y1_pos; };