ESP32 RXINT2 error

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
SpeedPIC32
Posts: 261
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Flowcode v10 ESP32 RXINT2 error

Post 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 78 times
test2wrom.fcfx
(36.1 KiB) Downloaded 86 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

mnfisher
Valued Contributor
Posts: 1453
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 135 times
Been thanked: 707 times

Re: ESP32 RXINT2 error

Post 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

Post Reply