I have a project I need to transmit a status code on Bluetooth on pins 9,10 while generating tone on another pin.
The issue is that if I send the BT signal first - tone starts but stays continuous
If I put the tone first it repeats until the next part of code.
I’m using Arduino UNO so I purposely moved BT serial to pin 9,10 to avoid OSC2 on pin 11.
I’ve read this is an interrupt issue. Does anyone know how to get around it?
the part of the code causing the problem is:
tone(BuzzPin, 2200, 20);
Thanks in advance