i need to ask something why i need to write bit or byte to this dsxxx as ,it's a temperature sensor and all i need is to read the temperature from it no need to write
can you please explain to me this issue as am confused please
Reading of DS1820 or DS18B20 sensor datasheet will help you to understand. With reading you read data, but with writing you send command to sensor to say what you read. Also Sensor have internal alarm, this require writing and configuring data.