On 2006-07-24, Gerhard Fiedler <[EMAIL PROTECTED]> wrote:
> On 2006-07-24 14:03:30, [EMAIL PROTECTED] wrote:
>
>> To read from the chip, one must issue the "read page" command (33h),
>> followed by the two-byte address of the requested page (pages are 32
>> bytes long). After receiving this, the DS1615 will send the data in a
>> burst of (up to) 32 bytes. 
>
> I'm not sure what you mean when you say it will send "up to" 32 bytes.

Registers are in 32-byte pages.  If you request register N, the
device sends register N followed by the remainder of the
32-byte page that contains address N.  If you request the first
register on a page, you'll get 32 bytes back.  If you request
the last register on a page, you'll get one 1 back.

-- 
Grant Edwards                   grante             Yow!  If I pull this SWITCH
                                  at               I'll be RITA HAYWORTH!! Or
                               visi.com            a SCIENTOLOGIST!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to