timer delay calculation Number of counts, NOC (hex) = (FFFF –YYXX) + 1 Number of counts, NOC (decimal) = 65536 –NNNN Delay = NOC x timer period x prescaler -34-