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.
Instuctions/Instruction.h
- Committer:
- ll16o2l
- Date:
- 2019-05-05
- Revision:
- 13:700ea0742b24
- Parent:
- 12:1dfc34bc8382
- Child:
- 15:807eba7c7811
File content as of revision 13:700ea0742b24:
#ifndef INSTRUCTION_H #define INSTRUCTION_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" /** Instruction Class * @author Oliver Luong, University of Leeds * @brief Controls the functionality of the Dodge game * @date 05/05/2019 */ class Instruction { public: Instruction(); ~Instruction(); void init(); void write(N5110 &lcd); void control(Gamepad &pad); private: Direction d; int y; int max_length; }; #endif