Added function to play a note on the PIC32 speaker