Skip to content

Commit e5ccb2c

Browse files
author
Stefan Kremser
committed
MadesUSE_LED16 default
1 parent f212cb4 commit e5ccb2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

esp8266_deauther/esp8266_deauther.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
// Settings //
1717

18-
//#define USE_DISPLAY /* <-- uncomment that if you want to use the display */
18+
#define USE_DISPLAY /* <-- uncomment that if you want to use the display */
1919
#define resetPin 4 /* <-- comment out or change if you need GPIO 4 for other purposes */
20-
//#define USE_LED16 /* <-- for the Pocket ESP8266 which has a LED on GPIO 16 to indicate if it's running */
20+
#define USE_LED16 /* <-- for the Pocket ESP8266 which has a LED on GPIO 16 to indicate if it's running */
2121

2222

2323
// Including everything for the OLED //
@@ -29,8 +29,8 @@
2929
#include "SH1106.h"
3030

3131
//create display(Adr, SDA-pin, SCL-pin)
32-
SSD1306 display(0x3c, 5, 4); //GPIO 5 = D1, GPIO 4 = D2
33-
//SH1106 display(0x3c, 5, 4);
32+
//SSD1306 display(0x3c, 5, 4); //GPIO 5 = D1, GPIO 4 = D2
33+
SH1106 display(0x3c, 5, 4);
3434

3535
//button pins
3636
#define upBtn 12 //GPIO 12 = D6

0 commit comments

Comments
 (0)