Viking Skull Lamp  V1.0.1
Loading...
Searching...
No Matches
globalResources.hpp File Reference
#include "Arduino.h"
#include "oled.hpp"
#include "menu.hpp"
#include "configuration.hpp"

Go to the source code of this file.

Macros

#define OLED_ADDRESS   0x3C
 

Variables

ssd1306 display
 Object for the display. More...
 
menu menuController
 Object for the menu. More...
 
configurationManager config
 Object for configuration saving and loading. More...
 

Macro Definition Documentation

◆ OLED_ADDRESS

#define OLED_ADDRESS   0x3C

Definition at line 38 of file globalResources.hpp.

Variable Documentation

◆ config

configurationManager config
extern

Object for configuration saving and loading.

This object handles the saving and the loading loading of the configuration data. It uses the configTree array, which contains all the configuration associated variables.

◆ display

menu menuController & display
extern

Object for the display.

Object for the menu.

This object can control a 128 x 32 pixel oled display which have an SSD1306 display driver. The address is configurable in the OLED_ADDRESS macro.

See also
OLED_ADDRESS

This object handles all the logic behind the menu system. It uses the display object as output and the default selected menu item is lightMenuItem

Definition at line 47 of file main.cpp.

◆ menuController

menu menuController
extern

Object for the menu.

This object handles all the logic behind the menu system. It uses the display object as output and the default selected menu item is lightMenuItem