21 lines
419 B
C
21 lines
419 B
C
// clang-format off
|
|
// upload_speed 921600
|
|
// board lolin32
|
|
|
|
#ifndef _WEMOS32OLED_H
|
|
#define _WEMOS32OLED_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define HAS_LED NOT_A_PIN // no LED
|
|
|
|
#define HAS_DISPLAY 1
|
|
#define MY_DISPLAY_SDA (5)
|
|
#define MY_DISPLAY_SCL (4)
|
|
#define MY_DISPLAY_RST NOT_A_PIN
|
|
#define MY_DISPLAY_FLIP 1 // use if display is rotated
|
|
|
|
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
|
|
|
|
#endif
|