Port of rweather's ardpicprog host program to Java