removed redundant ifdefs

DIAGxxx already handles the ifdefs
fixed wind calculation

notes the time that count was zeroised
then calculates wind speed correctly on ticks in the interval
small tidy up
tidy up

dig port initialisation is handle elsewhere now
interrupt fixes

previous code was very erratic, not waking correctly and missing
interrupts
tuned the sleep and wake code
now seems to work MUCH more reliably :)
interrupt fixes

fixed the code to call sleep correctly
MUCH more reliable!