A simple software change to try is to rearrange the order of the variables as they are declared. This worked for me although on a different compiler the app did utilize PWM as an audio output. Hope this helps.

Norm