Загрузка данных


/* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */

#pragma once

#define ENABLE_DEBUG
#define DEBUG_PORT Serial
#define DEBUG_BAUD 115200

// Выбираем свой пресет
#define DISPLAY_EXAMPLE_I2C

// ========== CONFIGS ========== //

#if defined(DISPLAY_EXAMPLE_I2C)

// ===== DISPLAY ===== //
  #define USE_DISPLAY true
  
  // Если у вас 0.96" OLED (SSD1306), раскомментируйте его и закомментируйте SH1106:
  #define SSD1306_I2C
  // #define SH1106_I2C

  #define I2C_ADDR 0x3C
  #define I2C_SDA 4 // D2 на Wemos D1 mini / NodeMCU
  #define I2C_SCL 5 // D1 на Wemos D1 mini / NodeMCU

  #define FLIP_DIPLAY false

// ===== BUTTONS ===== // (укажите свои пины кнопок, если они есть, или оставьте 255)
  #define BUTTON_UP 14   // D5
  #define BUTTON_DOWN 12 // D6
  #define BUTTON_A 13    // D7

#endif

// ========= FALLBACKS & CONSTANTS ========= //
#ifndef DEAUTHER_VERSION
  #define DEAUTHER_VERSION "2.6.1"
#endif

#ifndef AUTOSAVE_ENABLED
  #define AUTOSAVE_ENABLED true
#endif

#ifndef AUTOSAVE_TIME
  #define AUTOSAVE_TIME 60
#endif

#ifndef AP_SSID
  #define AP_SSID "pwned"
#endif

#ifndef AP_PASSWD
  #define AP_PASSWD "deauther"
#endif

#ifndef WEB_ENABLED
  #define WEB_ENABLED true
#endif

#ifndef CLI_ENABLED
  #define CLI_ENABLED true
#endif