Search found 3265 matches

by ESP_Sprite
Mon Apr 06, 2020 8:00 am
Forum: ESP32 Arduino
Topic: Problems with sleep timer
Replies: 2
Views: 110

Re: Problems with sleep timer

I think your issue is that the sleep time you specify is larger than a 32-bit value. This is not an issue for esp_sleep_enable_timer_wakeup as it takes a 64-bit value as an argument, but you're not calculating a 64-bit argument as uS_TO_S_FACTOR is specified as a long which is only 32-bit. My conver...
by ESP_Sprite
Sun Apr 05, 2020 7:46 pm
Forum: ESP32 IDF
Topic: How to use SPIFFS
Replies: 3
Views: 132

Re: How to use SPIFFS

That's pretty much impossible to say from the coredump... can you show your code here?
by ESP_Sprite
Sun Apr 05, 2020 7:44 pm
Forum: ESP32 IDF
Topic: Cannot build WiFi AP example (<property> not defined)
Replies: 2
Views: 68

Re: Cannot build WiFi AP example (<property> not defined)

Those lines normally get dropped in a sdkconfig.h that is generated after you configure the project for the first time. Simply build the project once and that file will exist and the issues should be solved.
by ESP_Sprite
Sat Apr 04, 2020 11:12 am
Forum: ESP32 Arduino
Topic: ESP32 and MAX7219 daisy chain problem
Replies: 3
Views: 238

Re: ESP32 and MAX7219 daisy chain problem

Sounds like your modules/chips are wonky then. Sorry, without a scope this will get pretty hard to debug...
by ESP_Sprite
Fri Apr 03, 2020 3:25 pm
Forum: ESP32 Arduino
Topic: ESP32 and MAX7219 daisy chain problem
Replies: 3
Views: 238

Re: ESP32 and MAX7219 daisy chain problem

What exactly is 'after a while'? Is it reproducably the same time every time, or does it differ? I'm wondering if it could be a thermal issue... I also seem to remember that chips like the MAX7219 sometimes are faked, so where did you obtain them, from a reputable source like Digikey or from an Alie...
by ESP_Sprite
Thu Apr 02, 2020 1:36 pm
Forum: ESP32 Arduino
Topic: interrupt timer not work with library
Replies: 5
Views: 303

Re: interrupt timer not work with library

The IRAM_ATTR has very little to do with this. Your basic problem is that you cannot directly use an object method as a callback, as the information wrt *which* object the function is called on is lost. The solution for this would be to work around the issue by passing the object in the argument to ...
by ESP_Sprite
Thu Apr 02, 2020 1:24 pm
Forum: ESP32 IDF
Topic: select() unblocked but recv() timed out
Replies: 3
Views: 179

Re: select() unblocked but recv() timed out

Can you show the code you're using?
by ESP_Sprite
Thu Apr 02, 2020 8:14 am
Forum: ESP32 Arduino
Topic: interrupt timer not work with library
Replies: 5
Views: 303

Re: interrupt timer not work with library

It would help if you were to post the actual error...
by ESP_Sprite
Thu Apr 02, 2020 8:05 am
Forum: ESP32 IDF
Topic: vTaskSuspendAll() and vTaskEndScheduler()
Replies: 8
Views: 396

Re: vTaskSuspendAll() and vTaskEndScheduler()

Sorry, there is no such thing. If any, you can't shut down the idle tasks, so killing all tasks except the one running is no option. Killing the scheduler would stop you from doing anything that uses blocking functions, and your Error function seems to be full of them.
by ESP_Sprite
Thu Apr 02, 2020 7:59 am
Forum: ESP32 IDF
Topic: how to get socket on Ethernet and Wifi at the same time?
Replies: 1
Views: 132

Re: how to get socket on Ethernet and Wifi at the same time?

I don't think there is anything special you need to do wrt sockets in that example, as the UDP socket is bound to INADDR_ANY which means an incoming connection can come from any interface. Just bring both WiFi and Ethernet up (make sure they're not on the same network, though), and it should work.

Go to advanced search