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
|
|
|
|
|
2019-09-27 12:47:00 +02:00
|
|
|
#define HAS_DISPLAY 1
|
2019-05-06 14:04:46 +02:00
|
|
|
#define MY_OLED_SDA (5)
|
|
|
|
#define MY_OLED_SCL (4)
|
2019-09-27 12:47:00 +02:00
|
|
|
#define MY_OLED_RST NOT_A_PIN
|
2019-05-06 14:04:46 +02:00
|
|
|
#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
|