Skip to content

Commit 0710955

Browse files
author
Stefan Kremser
committed
Added LED option for pocket ESP8266
1 parent 8b37d58 commit 0710955

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

esp8266_deauther/esp8266_deauther.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

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

1718
#ifdef USE_DISPLAY
1819
#include <Wire.h>
@@ -438,11 +439,10 @@ void resetSettings() {
438439

439440
void setup() {
440441

441-
// for the Pocket WiFi ESP8266
442-
/*
442+
#ifdef USE_LED16
443443
pinMode(16, OUTPUT);
444444
digitalWrite(16, LOW);
445-
*/
445+
#endif
446446

447447
Serial.begin(115200);
448448

0 commit comments

Comments
 (0)