Implementing onewire and DS18X20 libraries