RobotC Help - 2

Hello ! I've got the same problem described in the topic "RobotC Help" and i've understood that the problem is in what the 'sensorvalue' function
returns: for the Touch Sensor: 1023 or 183 if touched, for the Sonar and the Sound Sensor: around 900
Does anyone know how to set-up the sensors ?
Thanks for any help !!!
Bye, Vittorio
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.