Yurii

Results 92 comments of Yurii

ESP32 C3 connected to mikrotik, OT not connected [esp c3.webm](https://github.com/user-attachments/assets/1515f37c-fdbd-4ea9-acfe-92ee6973ef0e)

> Does this offer any clues to you? ![Screenshot_9](https://github.com/user-attachments/assets/e71ce221-25b8-4244-8921-e3bdb9655c84)

Hmm, strange, there is no backtrace in the debug data. Without a backtrace it is impossible to find out the reason. There may be many reasons, sometimes it is related...

If your ESP is powered via USB, try replacing the power supply with a different one.

Приветствую Думаю делать запрос в шину из ``PortalTask`` - не лучшая идея. Поэтому добавил свои мысли как можно сделать отправку запроса внутри ``OpenThermTask``, а чтение результата в ``PortalTask``.

``delayMicroseconds()`` blocks the core, unlike ``delay()`` which calls ``vTaskDelay()``: ```c++ void ARDUINO_ISR_ATTR delayMicroseconds(uint32_t us) { uint64_t m = (uint64_t)esp_timer_get_time(); if (us) { uint64_t e = (m + us); if (m...

``delayMicroseconds()`` does not call ``vTaskDelay()``.

For strict timing compliance and maintaining compatibility with all Arduino platforms, this is the optimal implementation, IMHO. You can propose your own implementation for ESP32 by correcting the code with...

@ssharks can you test [this](https://github.com/Laxilef/opentherm_library/tree/esp32_timer)?