http://microhydroelectric.ca/store/micro-hydro-control-automation/electronic-load-controller
Link to the sample code is on that page... If you have any questions let me know.. My phone number is also there.. Feel free to call me if I can help with anything.. Timezone here is PST!! :)
Kind Regards,
Jon