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 FXOS8700CQ mbed-rtos
Diff: Game_two/Game_two.h
- Revision:
- 13:02002658e718
- Child:
- 14:abe64fe0b6a5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Game_two/Game_two.h Wed Apr 17 17:53:56 2019 +0000 @@ -0,0 +1,31 @@ +#ifndef GAME_TWO_H +#define GAME_TWO_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +#include "Score.h" +#include "FXOS8700CQ.h" + +class Game_two +{ + +public: + Game_two(); + ~Game_two(); + void init(int speed, int cha, int r); + +private: + + Score music; + FXOS8700CQ device(I2C* sda, I2C* scl); + + int _speed; + int _cha; + int _rand; + int _count; + int _alt; + +}; + +#endif \ No newline at end of file