Issue controlling TV with Arduino

just delete the "for" loop