Checking uPeriod value

turns out global variable must be used in some type of logic statement
for it to be available in Watches in MPLAB X