From: <li...@ba...> - 2007-02-10 08:46:59
|
Hi! Niccolo Rigacci "li...@ri..." wrote: [...] >> Is your hardware decoding the IR signals itself? Then just call the >> map_code() function. It will assign the correct pre, code and post >> values. repeat_flag gives lircd a hint if the current signal is a repeat >> signal or a new signal. > Yes, my hardware decodes the IR and talks to the serial port at > plain 1200 8N1. > > I'm still confused about hw.decode_func() and map_code(), can > you please give me three lines of comments (in/out parameters or > so). Thank you very much! There are many examples that show how to use these functions. E.g. take a look at hw_pixelview.c. You will probably be able to use this implementation almost unchanged. Christoph |