initial cleanup
ongoing tidy
Almost working - decoded A and B bits to time

Now need to automate!!
still working, need to be clear on DUT seconds
added optional debug output
Merge branch 'tidied-up-basic-pulse-measurement'