Search found 30 matches

by azz-zza
Thu Mar 26, 2020 5:14 am
Forum: ESP32 IDF
Topic: c++ class with task and timer
Replies: 2
Views: 571

Re: c++ class with task and timer

Cryptkeeper, thank you for the suggestion. Unfortunately it didn't solve the problem. and the code fails with slightly different error. setup(): ... Serial.println(" entering setup_tasks"); Serial.println (xTaskGetSchedulerState()); Zap* outlet = new Zap(DATA_PIN, &eventGroup,bit_time, "Task UNO") ;...
by azz-zza
Mon Mar 09, 2020 9:59 pm
Forum: ESP32 IDF
Topic: c++ class with task and timer
Replies: 2
Views: 571

c++ class with task and timer

//added code tag Hello, im attempting to incorporate the task and the timer creation into c++ class. And, predictably, this is not working for me. I appreciate your feedback: #ifndef _ZAP_H #define _ZAP_H #include <Outlet.h> class Zap : public Outlet { private: int _channel = 1 ; //CHANNEL 1 //int D...
by azz-zza
Sat Dec 28, 2019 2:43 am
Forum: ESP32 IDF
Topic: Identifying CPU frequency dynamically
Replies: 0
Views: 201

Identifying CPU frequency dynamically

Hello, i wonder if it is possible to dynamically identify the CPU freq? use case: i have 2 visually identical dev boards (esp32-devkit). One works on 240 Mhz another on 160 Mhz. Changing config params manually everytime i have to upload the soft is error prone and not productive. The desire is to ha...
by azz-zza
Fri Dec 27, 2019 5:02 am
Forum: Hardware
Topic: SW_RESET continuous reboot
Replies: 22
Views: 10250

Re: SW_RESET continuous reboot

This worked! Thanks so much! Upgrading to the latest 1.0.3 version of arduino-esp32 worked. Anyone know what the actual fix was? Unfortunately it doesn't seem to be so easy to update the arduino core version to 1.0.3 in PlatformIO for ESP32. Hello, im getting same message ("setcpufrequency cannot s...
by azz-zza
Tue Nov 12, 2019 12:13 am
Forum: ESP32 IDF
Topic: [solved] network: http get/post examples
Replies: 3
Views: 436

Re: network: http get/post examples

oh, wow. How did i miss all this ?!
thank you very much!
by azz-zza
Sun Nov 10, 2019 11:16 pm
Forum: ESP32 Arduino
Topic: return WL_CONNECT from function
Replies: 0
Views: 336

return WL_CONNECT from function

Hello, the question is due to my limited knowledge of C. What is the function type should i specify if i want to check that the esp is connected after calling the function: #include <WiFi.h> <skip> wl_status_t WIFI_Net_Connect() { return WL_CONNECTED; } The complier is upset : In file included from ...
by azz-zza
Sat Nov 09, 2019 2:41 pm
Forum: ESP32 IDF
Topic: [solved] network: http get/post examples
Replies: 3
Views: 436

[solved] network: http get/post examples

Hello,
i see a few examples of Arduino wificlient library, but i can't seem to locate any examples of IDF framework for sending/receiving HTTP calls.
thank you fir our help.
by azz-zza
Sat Nov 09, 2019 2:17 pm
Forum: ESP32 Arduino
Topic: xTimerCreate with hours/days cycle
Replies: 7
Views: 932

Re: xTimerCreate with hours/days cycle

Thank you Idaho for you input and the example. It is helpful. I went with the ESP's solution #1, as it required the minimum amount of changes to my code. At the same time, i think, all this counting business is very inefficient from pwer consumtion perspective. But i'm not up against that yet and wi...
by azz-zza
Tue Nov 05, 2019 12:04 am
Forum: ESP32 Arduino
Topic: xTimerCreate with hours/days cycle
Replies: 7
Views: 932

Re: xTimerCreate with hours/days cycle

ESP, thank you for the reply. I found similiar issue filed in 2016 - https://sourceforge.net/p/freertos/bugs/135/ Barry noted: pdMS_TO_TICKS() will only get defined in projdefs.h if it is not already defined by the user. Now, admittedly, this is probably not documented anywhere (!)(?), but the defin...

Go to advanced search