Initial publish
Dependencies: mbed
Fork of el17dg by
settings.h
00001 #ifndef SETTINGS_H 00002 #define SETTINGS_H 00003 00004 /** 00005 * Settings Class 00006 * @brief describes the Settings. 00007 * @author Dmitrijs Griskovs 00008 * @date 15/04/2019 00009 */ 00010 class Settings{ 00011 public: 00012 /** A constructor for the Tutorial's page number*/ 00013 Settings(); 00014 /** 00015 * @brief Allows to change contrast and brightness of the screen by using a knob. 00016 * @details Updates and draws the text and the percentage bar. Allows to choose 00017 * the level of contrast and screen brightness. 00018 */ 00019 bool updateAndWriteSettings(); 00020 00021 private: 00022 static const int total_pages = 2; 00023 static const float time_delay = 100; 00024 int current_page; 00025 void settingsPage0(); 00026 void settingsPage1(); 00027 void drawArrowsAndExitButton(); 00028 }; 00029 00030 #endif
Generated on Thu Jul 14 2022 14:15:02 by 1.7.2