I am trying to make a simple if statement that basically should go "if infrared is detected, move crickit motors at 50% speed. Else, stop crickit motor"
Now, the problem is that typescript has a lot of infrared syntrax's and I am not sure which ones to use and how they work. I think I might need "network.onInfraredReceivedNumber" but I'm not sure. Has anyone done this before and know what I need to use.