Arduino RS232/TTL shifter programming