ESP_LOGX and Arduino

azz-zza
Posts: 26
Joined: Tue Sep 17, 2019 2:58 am

ESP_LOGX and Arduino

Postby azz-zza » Sat Oct 19, 2019 5:22 pm

is there a way to enable the ESP_LOGX while using Arduino.h ?

Code: Select all

void setup() {

  Serial.begin(115200);
  delay(3000);
 Serial.setDebugOutput(true);
  app_start();
}


void app_start(void) {
    esp_log_level_set(TAG,ESP_LOG_INFO) ;
    Serial.println(" Arduino print");
    ESP_LOGI(TAG," ESP print");
/
"ESP print" never appears on the screen...
thank you

azz-zza
Posts: 26
Joined: Tue Sep 17, 2019 2:58 am

Re: ESP_LOGX and Arduino

Postby azz-zza » Sat Oct 19, 2019 8:53 pm


idahowalker
Posts: 130
Joined: Wed Aug 01, 2018 12:06 pm

Re: ESP_LOGX and Arduino

Postby idahowalker » Sun Oct 20, 2019 12:44 pm

I set debug level to Debug.

Code: Select all

void setup()
{
  log_i("Total heap: %d", ESP.getHeapSize());
  log_i("Free heap: %d", ESP.getFreeHeap());
  }
https://docs.espressif.com/projects/esp ... m/log.html

Who is online

Users browsing this forum: tommeyers and 10 guests