Ok. I don't know if there is a way to execute a pin higher priority interrupt than Bluetooth communication?
I mean that a rising, falling, change ... etc. in a pin cause an interrupt no matter what a bluetooth event is triggered?
Search found 4 matches
- Wed May 06, 2020 4:30 pm
- Forum: ESP32 Arduino
- Topic: ESP32 code speed depends on "Classic Bluetooth" client connection/disconnection?
- Replies: 7
- Views: 7533
- Tue May 05, 2020 7:15 pm
- Forum: ESP32 Arduino
- Topic: ESP32 code speed depends on "Classic Bluetooth" client connection/disconnection?
- Replies: 7
- Views: 7533
Re: ESP32 code speed depends on "Classic Bluetooth" client connection/disconnection?
In that case, there is little you can do with this code; your code effectively assumes that the core is 100% under your disposal at all times, while in practice BT sometimes needs to respond to things and steals some time. You may be better off doing things in hardware: either see if you can put th...
- Sun May 03, 2020 6:22 pm
- Forum: ESP32 Arduino
- Topic: ESP32 code speed depends on "Classic Bluetooth" client connection/disconnection?
- Replies: 7
- Views: 7533
Re: ESP32 code speed depends on "Classic Bluetooth" client connection/disconnection?
Moving to the Arduino subforum Bluetooth will eat up some of the processing time of the ESP32 and can indeed cause latency issues, although iirc Arduino runs BT on another core than the user program task. Does your code still have timing issues when you comment out the SerialBT.println line? It mig...
- Sun May 03, 2020 6:22 am
- Forum: ESP32 Arduino
- Topic: ESP32 code speed depends on "Classic Bluetooth" client connection/disconnection?
- Replies: 7
- Views: 7533
ESP32 code speed depends on "Classic Bluetooth" client connection/disconnection?
Hello everyone I am trying to make a code to control the intensity of incandescent lamp (AC voltage). I use a signal zero cross circuit to synchronize the signal control of the ac load. The value of the intensity is given by a bluetooth device (android). The initial intensity is 50%. My code is the ...