2018-11-25 16:35:36 +01:00
|
|
|
// clang-format off
|
2019-06-30 17:48:24 +02:00
|
|
|
// upload_speed 921600
|
|
|
|
// board lolin32
|
2018-11-25 16:35:36 +01:00
|
|
|
|
2018-10-21 19:00:20 +02:00
|
|
|
#ifndef _LOLINLITE_H
|
|
|
|
#define _LOLINLITE_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2018-07-15 22:19:05 +02:00
|
|
|
// Hardware related definitions for lolin32lite (without LoRa shield)
|
|
|
|
|
2019-01-19 19:54:54 +01:00
|
|
|
#define HAS_LED LED_BUILTIN // on board LED on GPIO5
|
|
|
|
#define LED_ACTIVE_LOW 1 // Onboard LED is active when pin is LOW
|
2018-07-15 20:17:54 +02:00
|
|
|
|
2020-03-29 12:10:42 +02:00
|
|
|
#define MY_SDA SDA
|
|
|
|
#define MY_SCL SCL
|
|
|
|
|
2019-05-25 15:30:53 +02:00
|
|
|
// disable brownout detection (avoid unexpected reset on some boards)
|
|
|
|
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
|
|
|
|
|
|
|
|
#endif
|