#include "Arduino.h"
#include "oled.hpp"
#include <avr/pgmspace.h>
Go to the source code of this file.
◆ lightMode_t
Lost of the different lighting effects.
Enumerator |
---|
LIGHT_MODE_RAINBOW | |
LIGHT_MODE_CANDLE | |
LIGHT_MODE_PULSE | |
LIGHT_MODE_MUSIC | |
LIGHT_MODE_KOMODO | |
LIGHT_MODE_COLOR | |
Definition at line 157 of file menu.hpp.
◆ brightnessSelectDrawFunction()
void brightnessSelectDrawFunction |
( |
ssd1306 * |
oled | ) |
|
Draw override for brightness selection.
This function will be called by the brightnessSelectItem when it's content has to be drawn.
- Parameters
-
oled | Pointer to the display controller object. The function acces the display through this pointer. |
Definition at line 405 of file menu.cpp.
◆ brightnessSelectFunction()
Behaviour override for brightness selection.
This function will be called by the brightnessSelectItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 375 of file menu.cpp.
◆ buzzerMenuSelectedFunction()
Behaviour override for buzzer menu.
This function will be called by the buzzerMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 615 of file menu.cpp.
◆ candleMenuSelectFunction()
Behaviour override for candle menu select.
This function will be called by the candleModeMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 460 of file menu.cpp.
◆ clapMenuSelectedFunction()
Behaviour override for clap menu.
This function will be called by the clapMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 640 of file menu.cpp.
◆ colorMenuSelectFunction()
Behaviour override for color mode menu.
This function will be called by the colorModeMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 540 of file menu.cpp.
◆ colorSelectDrawFunction()
void colorSelectDrawFunction |
( |
ssd1306 * |
oled | ) |
|
Draw override for color select menu.
This function will be called by the colorSelectMenuItem when it's content has to be drawn.
- Parameters
-
oled | Pointer to the display controller object. The function acces the display through this pointer. |
Definition at line 590 of file menu.cpp.
◆ colorSelectFunction()
Behaviour override for color select menu.
This function will be called by the colorSelectMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 560 of file menu.cpp.
◆ fogTimerSelectDrawFunction()
void fogTimerSelectDrawFunction |
( |
ssd1306 * |
oled | ) |
|
Draw override for fog timer setting.
This function will be called by the fogTimerSelectMenuItem when it's content has to be drawn.
- Parameters
-
oled | Pointer to the display controller object. The function acces the display through this pointer. |
Definition at line 721 of file menu.cpp.
◆ fogTimerSelectFunction()
Behaviour override for fog timer setting menu.
This function will be called by the fogTimerSelectMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 691 of file menu.cpp.
◆ komodoMenuSelectFunction()
Behaviour override for komodo menu select.
This function will be called by the komodoModeMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 520 of file menu.cpp.
◆ menuInit()
Initialize the menu system.
- Todo:
- Maybe a menu map can visualize the behaviour of the ton of settings. It's a huge graph, yED could do that I think.
Definition at line 807 of file menu.cpp.
◆ musicMenuSelectFunction()
Behaviour override for music menu select.
This function will be called by the musicModeMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 500 of file menu.cpp.
◆ pulseMenuSelectFunction()
Behaviour override for pulse menu select.
This function will be called by the pulseModeMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 480 of file menu.cpp.
◆ rainbowMenuSelectFunction()
Behaviour override for rainbow menu select.
This function will be called by the rainbowModeMenuItem when it is selected and any interaction happens with the menu.
- Parameters
-
state | Event, that describes what kind of interaction happened. |
Definition at line 440 of file menu.cpp.
◆ brightnessMenuItem
◆ brightnessSelectItem
◆ buzzerEnabled
It will store the user selected state of the buzzer.
Definition at line 50 of file menu.cpp.
◆ buzzerMenuItem
◆ candleModeMenuItem
◆ clapMenuItem
◆ clapSwitchEnabled
It will store the user selected state of the clap switch.
Definition at line 52 of file menu.cpp.
◆ colorModeMenuItem
◆ colorSelectMenuItem
◆ fogEnableMenuItem
◆ fogMachineEnabled
It will store the user selected state of the fog machine.
Definition at line 54 of file menu.cpp.
◆ fogTimer
It will store the user selected humidification period.
- 0 -> 15 min
- 1 -> 30 min
- 2 -> 45 min
- 3 -> 1 hour
- 4 -> 1 hour 30 min
- 5 -> 2 hour
- 6 -> 3 hour
- 7 -> 5 hour
- 8 -> 8 hour
- 9 -> 12 hour
- 10 -> 24 hour
- Todo:
- It looks like I haven't added this to the configuration yet. Maybe I should?
Definition at line 56 of file menu.cpp.
◆ fogTimerMenuItem
◆ fogTimerSelectMenuItem
Brightness Timer Select item.
◆ komodoModeMenuItem
◆ lightBrightness
It will store the user selected brightness.
Definition at line 48 of file menu.cpp.
◆ lightMenuItem
◆ lightMode
It will store the user selected light mode.
Definition at line 44 of file menu.cpp.
◆ lightModeMenuItem
◆ mainMenuItem
◆ musicModeMenuItem
◆ pulseModeMenuItem
◆ rainbowModeMenuItem
◆ selectedColor
It will store the user selected color.
Definition at line 46 of file menu.cpp.