Shop OBEX P1 Docs P2 Docs Learn Events
Expanded inputs — Parallax Forums

Expanded inputs

ArchiverArchiver Posts: 46,084
edited 2003-04-25 03:17 in General Discussion
Hi, Based on the Experiment #24b "Expanded Inputs" with two 74HC165,
Can I shiftin a word instead of shiftin a byte twice? Thanks for your
help.

Hai Lu Mei

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-04-25 03:17
    Yes, but you need to use the bits modifier with SHIFTIN:

    SHIFTIN thePin, theClock, [noparse][[/noparse]theWord\16]

    -- Jon Williams
    -- Parallax

    In a message dated 4/24/2003 8:15:42 PM Central Standard Time,
    hai_m_2000@y... writes:

    > Hi, Based on the Experiment #24b "Expanded Inputs" with two 74HC165,
    > Can I shiftin a word instead of shiftin a byte twice? Thanks for your
    > help.
    >
    > Hai Lu Mei



    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.