Shop OBEX P1 Docs P2 Docs Learn Events
Ds1267 — Parallax Forums

Ds1267

ArchiverArchiver Posts: 46,084
edited 2002-08-16 15:40 in General Discussion
You can output 17 bits with SHIFTOUT like this

SHIFTOUT dPin, cPin, mode, [noparse][[/noparse]wordVar\16, bitVar\1]

Normally, SHIFTOUT wants to send 8 bits, so you must specify the transmission
width with the slash. You don't have to use a bit variable for the second
(could be first if it's more convenient), but that will make it easier if the
mode is MSBFIRST.

The complimentary part for the 74HC595 is the 74HC165. Download our
StampWorks manual for code and schematics.

-- Jon Williams
-- Parallax


In a message dated 8/16/02 8:52:28 AM Central Daylight Time,
mwaddell@s... writes:


> Does anybody have any code that has been used to control one of
> these IC(DS1267). It specifies a 17 bit serial output I think the
> stamp can only ouput 16. The leading bit specifies if the IC is used
> in a stacked mode. How do you work around this?
>
> Also is their a chip that does the oposite of the 74HC595. Parallel
> to serial? What part #?
>




[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-08-16 15:18
    Does anybody have any code that has been used to control one of
    these IC(DS1267). It specifies a 17 bit serial output I think the
    stamp can only ouput 16. The leading bit specifies if the IC is used
    in a stacked mode. How do you work around this?

    Also is their a chip that does the oposite of the 74HC595. Parallel
    to serial? What part #?

    Thanks
    Mark
  • ArchiverArchiver Posts: 46,084
    edited 2002-08-16 15:40
    Thanks for the answer.

    Mark
Sign In or Register to comment.