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
Fork of el17dg by
Diff: settings/settings.h
- Revision:
- 31:becb8f6bf7b7
- Parent:
- 30:d454d0cb72bc
--- a/settings/settings.h Tue Apr 16 21:16:33 2019 +0000
+++ b/settings/settings.h Tue Apr 23 18:18:57 2019 +0000
@@ -1,21 +1,24 @@
#ifndef SETTINGS_H
#define SETTINGS_H
-/**Settings Class
- * @brief A library for describing the Settings.
+/**
+ * Settings Class
+ * @brief describes the Settings.
* @author Dmitrijs Griskovs
* @date 15/04/2019
*/
class Settings{
- public:
-/** A constructor for the Tutorial's page number*/
+public:
+ /** A constructor for the Tutorial's page number*/
Settings();
-/** @brief Updates and draws the text and the percentage bar. Allows to choose
- * the level of contrast and screen brightness.
- */
+ /**
+ * @brief Allows to change contrast and brightness of the screen by using a knob.
+ * @details Updates and draws the text and the percentage bar. Allows to choose
+ * the level of contrast and screen brightness.
+ */
bool updateAndWriteSettings();
- private:
+private:
static const int total_pages = 2;
static const float time_delay = 100;
int current_page;
