refactor, added akku menu, finished autopilot menu
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* @file menuAkku.h
|
||||
* @author Alexander Klein (alex@kleiax.de)
|
||||
* @brief
|
||||
* @version 0.1
|
||||
* @date 2022-02-05
|
||||
*
|
||||
* @copyright Copyright (c) 2022
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef MENU_AKKU_H
|
||||
#define MENU_AKKU_H
|
||||
|
||||
#include <Ps3Controller.h>
|
||||
|
||||
#include "menuControl.h"
|
||||
|
||||
class MenuAkku : public MenuControl {
|
||||
public:
|
||||
MenuAkku();
|
||||
|
||||
void down(){}
|
||||
void up(){}
|
||||
void right();
|
||||
void left();
|
||||
void no();
|
||||
void yes();
|
||||
|
||||
void printMenu();
|
||||
void update();
|
||||
|
||||
private:
|
||||
const uint16_t delay = 5000;
|
||||
uint32_t last_millis = 0;
|
||||
|
||||
};
|
||||
|
||||
#endif // MENU_AKKU_H
|
||||
Reference in New Issue
Block a user