#include "Arduino.h"
#include "globalResources.hpp"
#include "oled.hpp"
#include "menu.hpp"
#include "motorControl.hpp"
#include "lightControl.hpp"
#include "buzzerControl.hpp"
#include "configuration.hpp"
#include "fogMachine.hpp"
#include <avr/wdt.h>
Go to the source code of this file.
◆ BUZZER
◆ DEFAULT_BUZZER_STATE
      
        
          | #define DEFAULT_BUZZER_STATE   true | 
      
 
By default the buzzer is enabled. 
Definition at line 76 of file main.hpp.
 
 
◆ DEFAULT_CLAP_SWITCH_STATE
      
        
          | #define DEFAULT_CLAP_SWITCH_STATE   true | 
      
 
By default the clap switch is enabled. 
Definition at line 79 of file main.hpp.
 
 
◆ DEFAULT_FOG_STATE
      
        
          | #define DEFAULT_FOG_STATE   true | 
      
 
By default the fog machine is enabled. 
Definition at line 82 of file main.hpp.
 
 
◆ DEFAULT_LIGHT_BRIGHTNESS
      
        
          | #define DEFAULT_LIGHT_BRIGHTNESS   30 | 
      
 
Default value for the brightness. 
Definition at line 73 of file main.hpp.
 
 
◆ DEFAULT_LIGHT_MODE
Default value for the light mode. 
Definition at line 67 of file main.hpp.
 
 
◆ DEFAULT_SELECTED_COLOR
      
        
          | #define DEFAULT_SELECTED_COLOR   0 | 
      
 
Default value for the user selected color. 
Definition at line 70 of file main.hpp.
 
 
◆ ENCODER_BTN
The encoder button is connected to pin 2 on the Arduino. 
Definition at line 45 of file main.hpp.
 
 
◆ ENCODER_CLK
The encoder clock line is connected to pin 3 on the Arduino. 
Definition at line 51 of file main.hpp.
 
 
◆ ENCODER_DATA
The encoder data line is connected to pin 4 on the Arduino. 
Definition at line 48 of file main.hpp.
 
 
◆ encoderButtonUpdate()
      
        
          | void encoderButtonUpdate | ( |  | ) |  | 
      
 
This function handles the button press detection. 
Definition at line 190 of file main.cpp.
 
 
◆ encoderISR()
Interrupt service for the encoder rotation events. 
Definition at line 160 of file main.cpp.