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
ModeA/ModeA.h
- Committer:
- el17mtu
- Date:
- 2019-05-08
- Revision:
- 5:1c56acecc96e
- Parent:
- 3:8e6950aeec8a
- Child:
- 7:9a30314fa41f
- Child:
- 9:571f92b0211b
File content as of revision 5:1c56acecc96e:
#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 gravity; int screen_width; int bar_width; int bar_speed; int size_bottom; int size_top; public: float speed; }; #endif