ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18ac

Dependencies:   mbed

Menu/Menu.h

Committer:
ale_carb0ni
Date:
2020-05-26
Revision:
7:8d381315f72c
Parent:
6:a2c72def99f9

File content as of revision 7:8d381315f72c:

#ifndef MENU_H
#define MENU_H

#include "mbed.h"
#include "Gamepad.h"
#include "N5110.h"

/** Menu Class
* @brief controls the home page, the menu and the help function
* @author Alessandro Carboni
* @date Apr, 2020
*/

class Menu
{

private:
    //classes
    N5110 _lcd;
    Gamepad _pad;

public:
    //functions
    
    /**Constructor
    *@param N5110 object
    *@param Gamepad object
    */
    Menu(N5110 &lcd,Gamepad &pad);

    /**Make initial screen
    */
    void initscreen();
    
    /**Make the menu screen
    */
    void menu_screen();
    
    /**Make the arrow in the menu
    */
    void arrow();
    
    /**Make the help function
    */
    void help();
};

#endif