dimmable-light icon indicating copy to clipboard operation
dimmable-light copied to clipboard

Crash esp32 PlatfotmIO

Open dancheeek92 opened this issue 2 years ago • 7 comments

Hello, thanks for the quality work! The problem is that at the moment the library does not work in PlatformIO, interrupt zc (pin 13) causes a crash. This issue has been asked before, but still no solution. You will do a great good deed if you deal with this problem. Your library is the only one that can provide an acceptable level of flicker.

dancheeek92 avatar Aug 14 '22 21:08 dancheeek92

@fabianoriccardi Can you help to us? In other issue you wrote, that problem is in new arduino core. May be you can update a library?

D1ver avatar Aug 15 '22 07:08 D1ver

Hi, I will try to revamp the library to the newer version of Arduino cores and platformio.

@dancheeek92 Which board and Arduino Core version are you using?

fabianoriccardi avatar Aug 19 '22 14:08 fabianoriccardi

@fabianoriccardi esp32 wroom, PlatformIO Core 6.1.4 (2022-08-12). The problem was on previous versions as well.

dancheeek92 avatar Aug 21 '22 19:08 dancheeek92

May you tell me the ESP32-Arduino core version?

interrupt zc (pin 13) causes a crash.

Is only pin 13 causing the crash or is it always crashing whatever the pin?

fabianoriccardi avatar Aug 21 '22 20:08 fabianoriccardi

@fabianoriccardi framework-arduino-mbcwb >=2.1.1. I tried to connect pin 27, but it did not solve the problem.

dancheeek92 avatar Aug 22 '22 15:08 dancheeek92

I haven't never heard about this board, and even if it based on ESP32, it seems the company has developed their own framework. Is it open source? Does it use the well-known ESP32-Arduino?

fabianoriccardi avatar Aug 22 '22 21:08 fabianoriccardi

@dancheeek92 According to this: https://www.briki.org/download/Pin_description_MBC-WB.pdf Pins 13 and 27 are reserved for the onboard samd21...

nsummy avatar Sep 06 '22 16:09 nsummy

Closing since this issue was addressed in #41. A new version will be released soon.

fabianoriccardi avatar Nov 01 '23 20:11 fabianoriccardi