Of the CPU timers 0/1/2/3, which (if any) are available for program use? That is, they are not already internally used for the netmf system (including LCD functions)?
Check the “enable” flag on all timers to see which ones are enabled.
you can use 2 and 3.
It appears the piezo function interferes/uses timer2 , so I switched to 3