This application note shows how to use two Dallas DS18B20 temperature sensors and the 1wire bus.
Download source code in an11.zip