Need help with controlling all components in build using ultrasonic sensor please help asap

Could it be something to do with the fact that nothing happens to mysensor?

Strange value.

Please remember to use code tags when posting code