Use HC-SR04 Ultrasonic Sensor to move a motor

Quote
maybe print the values as thought they were signed
didn't work smiley-sad

I'm sorry to hear that.
Good luck.