--- In "David Farrell" <> wrote:
>
>
> I'm not sure I would do this the same way. Why Interrupts? how soon do
> you need to respond to the key? Pthreads run fine on TS-XXXX, create
> a separate thread to output row and read columns.
> If you need interrupts, stepping to the next row should disable the
> drive of the current (pressed) key so should reduce the time you need
> to wait for debounce, you may not even need to disable the interrupt.
> Be sure to have pullups on the columns so un-driven return to
> inactive, only active row would be driven low. DO as little as
> possible in the isr.
>
Hi,
Interrupts because I am curious about them. I am not too
familiar with pthreads, I will take a look into them and see if I
would rather do it this way. Like I said, this is only for school and
we do not have a company requesting this project, so I am free to do
it any way I want. I am looking to just get more experience with
embedded programming to see if I want to go into it further after I
finish my undergrad.
I don't get what you mean by stepping to the next row to disable to
drive of the current key. Could you explain it?
Thanks,
Brandon
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|