Hey, I was about to post my own question about a similar issue (first post for me).From looking at your code, the only thing i realize is that you are far more competent than I am with everything related to electronics.I used the Dallas temperature library, and frankly it works quite fine (using DS18B20 and DS18S20) and is simple.I successfuly managed to hook up 6 B types along with 1 S type.