Merge pull request #1 from kobuki/master

WeeWx interfacing functions, round 2
implemented LOOP parameter (number of packets)