SignalK / SensESP

Universal Signal K sensor framework for the ESP32 platform
https://signalk.org/SensESP/
Apache License 2.0
145 stars 79 forks source link

Issue with system LED #664

Open nadrog opened 10 months ago

nadrog commented 10 months ago

Hi,

after updating to 2.7.0 from 2.6.0 or thereabouts (not exactly sure which version) the builtin LED does not blink anymore on SailorHat board where LED is on GPIO2.

I'm using same code as previously (except for updated libraries) and also tried with following minimal code:

#define LED_BUILTIN 2
#include "sensesp_app_builder.h"

using namespace sensesp;

reactesp::ReactESP app;

void setup() {
  // Some initialization boilerplate when in debug mode...
#ifndef SERIAL_DEBUG_DISABLED
  SetupSerialDebug(115200);
#endif

  // Create the builder object
  SensESPAppBuilder builder;
  sensesp_app = builder.get_app();

  // Start the SensESP application running
  sensesp_app->start();
}

void loop() { app.tick(); }

Am I doing something wrong? I did try with minimal Arduino blinking sketch to confirm LED is still OK.