--- 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?
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/
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]
--- 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]
Comments
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]
> 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?
>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/
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]
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]
> 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]