Search found 45 matches
- Sun Nov 10, 2019 11:16 pm
- Forum: ESP32 Arduino
- Topic: return WL_CONNECT from function
- Replies: 0
- Views: 2558
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 ...
- Sat Nov 09, 2019 2:41 pm
- Forum: ESP-IDF
- Topic: [solved] network: http get/post examples
- Replies: 3
- Views: 4118
[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.
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.
- Sat Nov 09, 2019 2:17 pm
- Forum: ESP32 Arduino
- Topic: xTimerCreate with hours/days cycle
- Replies: 7
- Views: 9450
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...
- Tue Nov 05, 2019 11:24 pm
- Forum: ESP32 Arduino
- Topic: xTimerCreate with hours/days cycle
- Replies: 7
- Views: 9450
- Tue Nov 05, 2019 12:04 am
- Forum: ESP32 Arduino
- Topic: xTimerCreate with hours/days cycle
- Replies: 7
- Views: 9450
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...
- Mon Nov 04, 2019 3:35 am
- Forum: ESP32 Arduino
- Topic: xTimerCreate with hours/days cycle
- Replies: 7
- Views: 9450
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....
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....
- Sun Nov 03, 2019 8:06 pm
- Forum: ESP32 Arduino
- Topic: xTimerCreate with hours/days cycle
- Replies: 7
- Views: 9450
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...
- Sat Oct 19, 2019 8:53 pm
- Forum: ESP32 Arduino
- Topic: ESP_LOGX and Arduino
- Replies: 2
- Views: 3862
- Sat Oct 19, 2019 5:22 pm
- Forum: ESP32 Arduino
- Topic: ESP_LOGX and Arduino
- Replies: 2
- Views: 3862
ESP_LOGX and Arduino
is there a way to enable the ESP_LOGX while using Arduino.h ? 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 a...
- Sat Oct 19, 2019 5:01 pm
- Forum: ESP32 Arduino
- Topic: rcswitch not availble
- Replies: 1
- Views: 3884
Re: rcswitch not availble
it is hard to get not 433 mhz receiver to communicate with 433 transmitters .
Issue is closed.
Issue is closed.