The 18B20 is a OneWire "slave" device. It is controlled by a "master" which is your Arduino. Connect the resistor between Vcc and your designated OneWire pin.
The 18B20 is a OneWire "slave" device. It is controlled by a "master" which is your Arduino. Connect the resistor between Vcc and your designated OneWire pin.