My application is getting slower and slower the more I use it. This has been happening since I set up a "feedback" function between my arduino Nano 33 BLE board and my phone.
My application works as follows: I send a value to my card to change its parameters and when the change is made, I send the code back to check the application of the instruction. It can also be information that comes directly from the card.
I also use a button attached to the map to trigger voice recognition. This feature slows down the application even more.
I've read a lot on the forum, but I can't seem to solve my slowness problem: can anyone help me?
I am attaching my 2 programmes. They are a bit complex. I'm not a programmer...