mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-23 15:38:18 -08:00
MadesUSE_LED16 default
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
|
||||
// Settings //
|
||||
|
||||
//#define USE_DISPLAY /* <-- uncomment that if you want to use the display */
|
||||
#define USE_DISPLAY /* <-- uncomment that if you want to use the display */
|
||||
#define resetPin 4 /* <-- comment out or change if you need GPIO 4 for other purposes */
|
||||
//#define USE_LED16 /* <-- for the Pocket ESP8266 which has a LED on GPIO 16 to indicate if it's running */
|
||||
#define USE_LED16 /* <-- for the Pocket ESP8266 which has a LED on GPIO 16 to indicate if it's running */
|
||||
|
||||
|
||||
// Including everything for the OLED //
|
||||
@@ -29,8 +29,8 @@
|
||||
#include "SH1106.h"
|
||||
|
||||
//create display(Adr, SDA-pin, SCL-pin)
|
||||
SSD1306 display(0x3c, 5, 4); //GPIO 5 = D1, GPIO 4 = D2
|
||||
//SH1106 display(0x3c, 5, 4);
|
||||
//SSD1306 display(0x3c, 5, 4); //GPIO 5 = D1, GPIO 4 = D2
|
||||
SH1106 display(0x3c, 5, 4);
|
||||
|
||||
//button pins
|
||||
#define upBtn 12 //GPIO 12 = D6
|
||||
|
||||
Reference in New Issue
Block a user