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: mbed
Doodler/Doodler.h
- Committer:
- el17m2h
- Date:
- 2019-04-13
- Revision:
- 5:8814d6de77d0
- Parent:
- 4:8ec314f806ae
- Child:
- 6:848d1e4c1a31
File content as of revision 5:8814d6de77d0:
#ifndef DOODLER_H
#define DOODLER_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Floors.h"
class Doodler{
public:
Doodler();
~Doodler();
void init(int radius);
void draw(N5110 &lcd);
void update (Direction d, float mag);
Vector2D get_pos();
private:
int _radius;
int _x;
int _y;
int _speed;
};
#endif