Hey all. I am using CapacitiveSensor library in combo with the tone() function on n Arduino Nano for some simple touch to tones. Tone() on its own works fine, but when combined with CapSense it becomes very quite and quality degraded. I also hear lots of clicking from the speaker from the capacitive sensing. Any ideas how I can at least get the normal tone volume? Just to clarify I am using the tone() function and not the Tone library (though I would love to use the Tone library but it seems it conflicts with the CapSense library and won’t compile)
Tone uses timer2 to produce the tones, and should have no problem with blocking code.
CapacitiveSensor library doesn't seem to use timers, so from the face of it no interference.