Mades USE_LED16 default

This commit is contained in:
Stefan Kremser
2017-07-31 16:17:48 +02:00
parent f212cb48d8
commit a89769fd71

View File

@@ -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