Re: [Botix-devel] Nesting drivers
Status: Beta
Brought to you by:
vorik2005
|
From: Just4 F. <rb...@ho...> - 2005-12-05 14:06:52
|
>Euh... I've asked Sinterklaas for some ATMega8's to try some stuff out.. I >hope that I'll get it tonight! ;) Did you behave that well last year?? :) > >BTW: Do you have some (C) code to decode InfraRed signals? I don' t have C code, but I do have tested and functioning AVR assembler programs that can decode IR signals that are send with the RC5 protocol. That is the Phillips standard of about every TV remote control. It is an interrupt driven program to decode the signal, so I do think it will be impossible to translate everything into C. I don't expect C to be fast enough to handle RC5 reliably, but maybe you can rewrite it yourself in a way that strongly resembles the assembler program, meaning fe addressing registers directly in stead of using variables. The assembler code works fine for me (on any AVR controller) in combination with the cheapest universal tv remote control from the local Blokker retailer. Price was about 7 EUR. Interested? Greetz, Richard |