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.
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
ESP32 RXINT2 error
-
- Posts: 261
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
-
- Valued Contributor
- Posts: 1453
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 135 times
- Been thanked: 707 times
Re: ESP32 RXINT2 error
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
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