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
Diff: ModeA/ModeA.h
- Revision:
- 0:15b74f0f8c7f
- Child:
- 1:44f4594eacac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ModeA/ModeA.h Wed May 08 14:50:07 2019 +0000 @@ -0,0 +1,32 @@ +#ifndef MODEA_H +#define MODEA_H + +#include "mbed.h" +#include "main.h" +#include "N5110.h" +#include "Gamepad.h" + +// function prototypes +void mode_A(); + + +class ModeA +{ + +public: + ModeA(); + ~ModeA(); + + void screen(N5110 &lcd); + void initialise(N5110 &lcd); + void Bird(N5110 &lcd); + + +private: +int x_position; + int y_position; + int speed; + int gravity; + +}; +#endif \ No newline at end of file