Finalized DS18X20 lib implementation for avr devices