I am trying to work on a project will play a tune using a piezo buzzer, and at the same time flash a neopixel ring. The good part is that it does what I expect it to. However, the piezo buzzer has a different tone when the neopixel flashes.
From what I have read the standard tone library is using interrupts to create the tone. But, neopizels for their timing need to disable the interrupts. This causes the tone to be weird.
Is it possible to run both at the same time like I am looking to do? I am using the following code for the birthday music: https://github.com/AbhishekGhosh/Arduino-Buzzer-Tone-Codes/blob/master/Happy-Birthday-to-You.ino