*URGENT* proximity sensor code not working

I'm sensing "late assignment"