Page 1 of 1

ESP32 RXINT2 error

Posted: Sun Apr 16, 2023 10:15 am
by SpeedPIC32
Hello, I need help.
would like to receive channel2 via the Rs232 and trigger an interrupt. as soon as I call RXINT2 I can no longer compile.
test2wrom.msg.txt
(28.52 KiB) Downloaded 86 times
test2wrom.fcfx
(36.1 KiB) Downloaded 94 times
The chip ESP32 Wromm 32 should also have bluetooth.
is it enough to call the component and initialise it to see it with a mobile phone for example?

greetings SpeedPic32

Re: ESP32 RXINT2 error

Posted: Sun Apr 16, 2023 11:10 am
by mnfisher
This is a result of the slightly strange naming convention in FC. If you use channel 2 UART (note you seem to have it defined as using channel 1) - you need to use RxInt1 (similarly for channel 1 - use RxInt0)

Because you haven't used the relevant channel - the interrupt can't be defined.

I think it is done like this so channel 0 can be software. But confusing.

Martin