Problems with DS18S20 connected to Pin A1 (pin15)

I believe that code is out of date and was a work in progress anyway. Getting a DS18S20 wasn't such a good idea but I believe you can use the same basic code as the DS18B20, a proper example of which is here:

so try that.