Skip to content

ANALOG_SUPPORT breaks GPIO0 use #1777

@lblabr

Description

@lblabr

i'm using Arduino IDE to compile espurna firmware, using 1.13.6-dev.
Board Wemos mini / compatible to Wemos mini.

Enabling Analog_Support will break relay functions. Where do i have to start to figure out what happens ?

#elif defined(BEREGNUNG)

// Info
#define MANUFACTURER        "WEMOS"
#define DEVICE              "BEREGNUNG"

// Disable non-core modules
#define ALEXA_SUPPORT           0
#define BROKER_SUPPORT          0
#define BUTTON_SUPPORT          0
#define DOMOTICZ_SUPPORT        0
#define HOMEASSISTANT_SUPPORT   0
#define I2C_SUPPORT             0
#define MDNS_SERVER_SUPPORT     0
#define MQTT_SUPPORT            1
#define NTP_SUPPORT             1
#define SCHEDULER_SUPPORT       1
#define THINGSPEAK_SUPPORT      0
#define WEB_SUPPORT             1

// Extra light-weight image
#define DEBUG_SERIAL_SUPPORT    0
#define DEBUG_TELNET_SUPPORT    0
#define DEBUG_WEB_SUPPORT       1
#define LED_SUPPORT             0
#define TELNET_SUPPORT          0
#define TERMINAL_SUPPORT        1	

// #define SENSOR_SUPPORT 1
#define ANALOG_SUPPORT 1

#define RELAY1_PIN          2
#define RELAY1_TYPE         RELAY_TYPE_INVERSE
#define RELAY2_PIN          0
#define RELAY2_TYPE         RELAY_TYPE_INVERSE
#define RELAY3_PIN          4
#define RELAY3_TYPE         RELAY_TYPE_INVERSE
#define RELAY4_PIN          5
#define RELAY4_TYPE         RELAY_TYPE_NORMAL

// #define I2C_SDA_PIN 12 // D2
// #define I2C_SCL_PIN 14 // D1

#endif

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions