fix IR sensor not working on ports 3/4