Arduino software to control an autotener