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:
- 9:571f92b0211b
- Parent:
- 5:1c56acecc96e
- Child:
- 10:1c3bdbf2fe9f
- Child:
- 14:558c85380f84
File content as of revision 9:571f92b0211b:
#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 speed; int size_bottom; int size_top; }; #endif