swaping a Adafruit_MAX31855 thermocouple for dallas 1820b

G-Day

just asking if i can swap

a Adafruit_MAX31855 thermocouple for dallas 1820b????

and if so how????

think i worked it out