Page 1 of 1

Interrupts ESP32.

Posted: Sat Feb 18, 2023 10:24 am
by djebirmalik
Hi,Hello everybody.

I'm making this post because I noticed that interrupts don't work with the ESP32.
I downloaded the latest FC10 patch xxxx , but nothing helped.

Regards.
Flowcode1.fcfx
(12.48 KiB) Downloaded 61 times

Re: Interrupts ESP32.

Posted: Sat Feb 18, 2023 11:43 am
by mnfisher
What do you mean by 'doesn't work' - for example if the pin is connected to a switch you might get several interrupts due to bounce..

Also worth checking (using a terminal program - such as PuTTY) that the esp32 isn't spitting out some info.

Martin

Re: Interrupts ESP32.

Posted: Mon Feb 20, 2023 5:36 am
by djebirmalik
Hi,Martin;

The simulation does not work. Regards.

Re: Interrupts ESP32.

Posted: Mon Feb 20, 2023 7:49 am
by p.erasmus
Hi

I might be wrong however I still have the view Interrupts are not supported in Simulation

Re: Interrupts ESP32.

Posted: Mon Feb 20, 2023 8:32 am
by djebirmalik
Hi,Peter;

No, the simulation does not work.Why ????? Regards.

Re: Interrupts ESP32.

Posted: Mon Feb 20, 2023 8:51 am
by mnfisher
It doesn't seem to work in sim - which is odd as you'd imagine the simulation engine was the same as other targets (it does work, for example on AVR)

Martin

Re: Interrupts ESP32.

Posted: Mon Feb 20, 2023 9:02 am
by Steve-Matrix
I've confirmed the error and I will look into it. Thanks for letting us know.

Re: Interrupts ESP32.

Posted: Mon Feb 20, 2023 9:32 am
by Steve-Matrix
I think the error can be fixed with a library update for the target device. We should have a new one for you soon.

Re: Interrupts ESP32.

Posted: Mon Feb 20, 2023 10:21 am
by djebirmalik
In the meantime, thank you all.

Re: Interrupts ESP32.

Posted: Mon Feb 20, 2023 10:42 am
by BenR
Hello,

Hopefully fixed for you now.