Rockbox mail archive
Subject: Re: Remocon Clone
From: Tjerk Schuringa (regenpak_at_yahoo.com)
Date: 2001-12-13
It's sweet...
I think I figured out the synopsis for the PIC code:
- wake
- read RB0 into temp reg (int vector)
- few compares to get the RS232 pattern
- if compares don't match SLEEP (including "FF")
- RS232: put out RS232 bits
- wait repeat time
- compare RB0 to temp reg
- if same goto RS232 else SLEEP
- end
Note that I still have to figure out the repeat time. In any case it is less
than 250ms but more than 208us (figures!). Also a repeat time delay is needed.
Would 500ms be OK? Same as typematic delay on keyboard...
Have phun!
T.J.
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
Page was last modified "Mar 9 2008" The Rockbox Crew
|