2019-05-06 14:04:46 +02:00
|
|
|
// clang-format off
|
2019-06-30 17:48:24 +02:00
|
|
|
// upload_speed 921600
|
|
|
|
// board lolin32
|
2019-05-06 14:04:46 +02:00
|
|
|
|
|
|
|
#ifndef _WEMOS32OLED_H
|
|
|
|
#define _WEMOS32OLED_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#define HAS_LED NOT_A_PIN // no LED
|
|
|
|
|
|
|
|
#define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C
|
|
|
|
#define MY_OLED_SDA (5)
|
|
|
|
#define MY_OLED_SCL (4)
|
|
|
|
#define MY_OLED_RST U8X8_PIN_NONE
|
|
|
|
#define DISPLAY_FLIP 1 // use if display is rotated
|
|
|
|
|
2019-05-25 15:30:53 +02:00
|
|
|
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
|
2019-05-06 14:04:46 +02:00
|
|
|
|
|
|
|
#endif
|