2.1 Initialization

The initialization procedure is very straightforward. Set the 1-Wire pins in Input mode, enable the internal pull-up resistor, and assign an interrupt handler to the GPIO interrupt.