Jump to content

Dallas/Maxim One Wire Library

Recommended Posts

  • Replies 31
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Here is a basic library for 1-wire communication. It works with CPU frequency of 1 MHz or higher. Carefully crafted assembly code is used to allow operation over a wide CPU clock frequency range.  

Thanks to pointers from Rickta59 here's code tuned to work in msp430-gcc. I've used it in my project to read temperature from DS sensor and it works correctly. dow.zip

Hi oPossum (Kevin?),   Combining read/write bit "slot" functions is incredibly insightful. Bravo! After looking at the separate read and write routines on an old DS18B20 + PIC 10F200 project, comb

Posted Images

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...