I attached the final code in the attachment. And no it does not work when i connect it directly. It does not work when i press "run". Sometimes it works wirelessly but only after doing build > deploy and run as start up. But that takes too long and i was adviced that only the final code should be done like that. But i had no choice last season but to do it like this, and waste a TON of time. So i want to get this problem fixed before next season
