Search found 28 matches

by azz-zza
Sat Dec 28, 2019 2:43 am
Forum: ESP32 IDF
Topic: Identifying CPU frequency dynamically
Replies: 0
Views: 147

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: 19
Views: 5134

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: 294

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: 223

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: 294

[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: 665

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: 665

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...
by azz-zza
Mon Nov 04, 2019 3:35 am
Forum: ESP32 Arduino
Topic: xTimerCreate with hours/days cycle
Replies: 7
Views: 665

Re: xTimerCreate with hours/days cycle

i suppose i can :
pass number of floor(65k/time) groups to the task ( that awaits event group bit set);
create a timer with pdMS_TO_TICKS(round(hours/ #groups));
in callback function wait for the # of bit sets == # of groups before actually triggering the action....
but this is ugly....
by azz-zza
Sun Nov 03, 2019 8:06 pm
Forum: ESP32 Arduino
Topic: xTimerCreate with hours/days cycle
Replies: 7
Views: 665

xTimerCreate with hours/days cycle

Hello, static const TickType_t t_outlet_cycle = 43200000 ; /* 12 hours in ms = 60 000*60*12 ; */ .... xTimerCreate( "timer1Sec", /* name */ pdMS_TO_TICKS(t_outlet_cycle), /* period/time ms */ pdTRUE, /* auto reload */ (void*)0, /* timer ID */ CallBack/* callback */ ); Based on the: #define pdMS_TO_T...

Go to advanced search