Finish documention until someone change something
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @file menuAkku.h
|
||||
* @author Alexander Klein (alex@kleiax.de)
|
||||
* @brief
|
||||
* @brief Contains a Menu class to show battery pack informations
|
||||
* @version 0.1
|
||||
* @date 2022-02-05
|
||||
*
|
||||
@@ -16,19 +16,41 @@
|
||||
|
||||
#include "menuControl.h"
|
||||
|
||||
/**
|
||||
* @brief This class shows Akku informations
|
||||
*
|
||||
* Provide information for main battery pack and
|
||||
* PS3-Controller battery pack
|
||||
*
|
||||
*/
|
||||
class MenuAkku : public MenuControl {
|
||||
public:
|
||||
/**
|
||||
* @brief Construct a new Menu Akku object
|
||||
*
|
||||
*/
|
||||
MenuAkku();
|
||||
|
||||
void down(){}
|
||||
void up(){}
|
||||
void right();
|
||||
void left();
|
||||
void no();
|
||||
void yes();
|
||||
void down() override {}
|
||||
void up() override {}
|
||||
void right() override;
|
||||
void left() override;
|
||||
void no() override;
|
||||
void yes() override;
|
||||
|
||||
void printMenu();
|
||||
void update();
|
||||
/**
|
||||
* @brief Prints the Information to display and console
|
||||
*
|
||||
* The informations are only printed to the display if it
|
||||
* set.
|
||||
*/
|
||||
void printMenu() override;
|
||||
|
||||
/**
|
||||
* @brief Renew the informations and print them
|
||||
*
|
||||
*/
|
||||
void update() override;
|
||||
|
||||
private:
|
||||
const uint16_t delay = 5000;
|
||||
|
||||
Reference in New Issue
Block a user