Hi

I have to know if a DS18B20 is "brokken" missing, so is there a way to see this?

I have try this but is just say "yes a sensor" even if I have taken the DS18B20 of?

check_sensor:

Low comm_pin1 'Set the data pin low to initialize
PauseUs 500 'Wait for more than 480us
TRISA.0=1 'Release the data pin (set to input for high)
PauseUs 100 'Wait for more than 60us
IF comm_pin1=1 Then
LcdOut $FE, $1, " NO " ' Show message
Lcdout $fe, $c0, " sensor "
pause 2000
Else
LcdOut $FE, $1, " yes a " ' Show message
Lcdout $fe, $c0, " sensor "
pause 2000
EndIF
return

Kent