You could do this, for a press & hold send 'a' else 2.
Just an idea.
--- In abdulla rasheed <>
wrote:
>
> Thanks, I figured out how to un reset that pin,
> I had to comment out two lines in the code :
>
>
> // *(syscon + SFTWR_LCK) = 0xAA;
> // *(syscon + DEVICE_CFG) = 0x08140d00;
>
> but I need to use that code and change the keypad to cell phone
keypad , ie send not only digits but char ( when I hit key 2 first
time it will send 2 on the Terminal , second time the out put should
be (a)) and so on.
> Any one has an idea? I am thinking to use timer or backspace '
\b' .
>
> bibhu <> wrote:
> One of the pins in DIO 1 is reset..
> You are making it 1 I guess.
>
> --- In "abd_rsh2001" <abd_rsh2001@> wrote:
> >
> > Hi,
> >
> > I am trying to run (keypad.c) on TS-7300, so I connected to the
DIO-1
> > the ,then I compile ( gcc keypad.c),but when I run it as
(./a.out),it
> > does not work, imediatly the linux will be rebooted.
> > Anyone has ideas ?
> >
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
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/
|