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
help/help.h
- Committer:
- RickYu
- Date:
- 2018-04-30
- Revision:
- 22:c1e1283c6356
- Parent:
- 21:f48e269bafa4
- Child:
- 23:f433f8d8698e
File content as of revision 22:c1e1283c6356:
#ifndef HELP_H
#define HELP_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
class help{
public:
help();
~help();
void welcome(Gamepad &pad,N5110 &lcd);
void draw(N5110 &lcd);
void update(Direction d,float mag,Gamepad &pad,N5110 &lcd);
void read_input(Gamepad &pad);
void statement1(N5110 &lcd);
void statement2(N5110 &lcd);
void statement3(N5110 &lcd);
void page_on(Gamepad &pad,N5110 &lcd);
void page_back(Gamepad &pad,N5110 &lcd);
void model_1(Gamepad &pad,N5110 &lcd);
void model_2(Gamepad &pad,N5110 &lcd);
private:
int arrow_x;
int arrow_y;
int arrow_speed;
int choice;
int page;
};
#endif