committed from last night.
change to 16 bit timer, reorder code
cap works + analog works. cap in series
all good