EmlaLockSafe
main.cpp File Reference
#include "LockState.h"
#include "configuration/Configuration.h"
#include "configuration/ConfigurationServer.h"
#include "configuration/HardwareConfiguration.h"
#include "configuration/WifiConfigurationServer.h"
#include "RealTimeClock.h"
#include "Tools.h"
#include "UsedInterrupts.h"
#include "emlalock/EmlaLockApi.h"
#include "views/ConfigurationServerView.h"
#include "views/EmergencyEnterKeyView.h"
#include "views/EmergencyEnterMenuView.h"
#include "views/EmergencyMenu.h"
#include "views/EmlalockUnlockKeyMenu.h"
#include "views/HardwareTestView.h"
#include "views/HygieneOpeningMenu.h"
#include "views/LockedView.h"
#include "views/PreferencesMenu.h"
#include "views/SelectDisplayTimeLeft.h"
#include "views/SelectDisplayTimePassed.h"
#include "views/SetTimerView.h"
#include "views/TimeRestrictedView.h"
#include "views/UnlockSafeView.h"
#include "views/UnlockedMainMenu.h"
#include "views/ViewStore.h"
#include "views/WifiConnectingView.h"
#include <LiquidCrystal_PCF8574.h>
#include <RotaryEncoder.h>
#include <SPIFFS.h>
#include <Thread.h>
#include <WiFiClientSecure.h>
#include <Wire.h>
#include <ds3231.h>
#include <string>
#include <sys/time.h>

Functions

RotaryEncoder encoder (ENCODER_PIN_CLK, ENCODER_PIN_DT, ENCODER_SWITCH)
 
LiquidCrystal_PCF8574 display (LCD_ADDR)
 
void ICACHE_RAM_ATTR encoderInterrupt (void)
 Callback if one of the encoder's pin are changed. More...
 
void setup ()
 Setup of Sketch. More...
 
void loop ()
 Loop function. More...
 

Variables

views::ConfigurationServerView configurationServerView & display
 

Function Documentation

◆ display()

LiquidCrystal_PCF8574 display ( LCD_ADDR  )

◆ encoder()

RotaryEncoder encoder ( ENCODER_PIN_CLK  ,
ENCODER_PIN_DT  ,
ENCODER_SWITCH   
)
Author
Hugo3132

◆ encoderInterrupt()

void ICACHE_RAM_ATTR encoderInterrupt ( void  )

Callback if one of the encoder's pin are changed.

Author
Hugo3132

◆ loop()

void loop ( )

Loop function.

◆ setup()

void setup ( )

Setup of Sketch.

Variable Documentation

◆ display

views::WifiConnectingView wifiConnectingView & display