Please go to Piotr Stolarz's OneWireNg
Library for Dallas/Maxim 1-Wire Chips
This is a fork of Paul Stoffregen's OneWire library plus Piotr Stolarz's patches from pull request 8. See Maxim Integrated AN937.
It works on my 8 bit AVR chips and I think it is safer. Should the changes be accepted upstream or Piotr start merging Paul's changes my repo will no longer be needed.