Sensor Port 1 not working on BrickPi3 [SOLVED]

Hello I have the BrickPi3 and I was successfully using the NXT Ultrasonic sensor with the BrickPi3 on Port 1. However I stopped getting any readings from it all of the sudden. It just gave out zero. I tried unplugging it wiggling the cable, etc. Didn’t work. I then switched to port 2 and it worked. (Yes I changed the code from port 1 to port 2)

Did I break it? If so is there a way I can fix it?

Thanks

EDIT
now there working so…