Shop OBEX P1 Docs P2 Docs Learn Events
8 data pins — Parallax Forums

8 data pins

ArchiverArchiver Posts: 46,084
edited 2003-11-22 17:35 in General Discussion
hi guys, how would one read 8 data pins from a counter chip?

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-11-22 16:01
    You will want to wire the 8 data pins into the stamp ports 0~7 or 8~15.

    Pins 0~7 can be read as IN LOW, while 8~ 15 IN HIGH.

    ken

    hi guys, how would one read 8 data pins from a counter chip?


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-22 16:10
    --- In basicstamps@yahoogroups.com, smartdim@a... wrote:
    > You will want to wire the 8 data pins into the stamp ports 0~7 or
    8~15.
    >
    > Pins 0~7 can be read as IN LOW, while 8~ 15 IN HIGH.
    >
    > ken
    >
    >
    > hi guys, how would one read 8 data pins from a counter chip?
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]

    so i would hold a pin high on the chip i am using and then shiftin
    the data as a byte from pins 0-7, and store that data into a variable?
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-22 16:14
    At 11:01 AM 11/22/03 -0500, smartdim@a... wrote:
    >You will want to wire the 8 data pins into the stamp ports 0~7 or 8~15.
    >
    >Pins 0~7 can be read as IN LOW, while 8~ 15 IN HIGH.
    >
    >ken

    Make that INL and INH for proper compilation.



    >
    >hi guys, how would one read 8 data pins from a counter chip?
    >
    >
    >[noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-22 16:17
    No....well not yet....

    I was assuming the counter chip was a parallel output.....What is the number
    of the counter chip you are using to count, and explain a little about your
    application. The Stamp does have a COUNT instruction.

    Ken

    so i would hold a pin high on the chip i am using and then shiftin
    the data as a byte from pins 0-7, and store that data into a variable?


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-22 16:20
    Thanks bruce......

    ken
    >You will want to wire the 8 data pins into the stamp ports 0~7 or 8~15.
    >
    >Pins 0~7 can be read as IN LOW, while 8~ 15 IN HIGH.
    >
    >ken

    Make that INL and INH for proper compilation.


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-22 17:35
    --- In basicstamps@yahoogroups.com, smartdim@a... wrote:
    > No....well not yet....
    >
    > I was assuming the counter chip was a parallel output.....What is
    the number
    > of the counter chip you are using to count, and explain a little
    about your
    > application. The Stamp does have a COUNT instruction.
    >
    > Ken
    >
    >
    > so i would hold a pin high on the chip i am using and then shiftin
    > the data as a byte from pins 0-7, and store that data into a
    variable?

    the chip i am using is a LS7166, i am attempting to use this to read
    quadrature outputs from an encoder, i beleive the data output is
    parallel, 24 bit, the data is sent in three bytes

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