Title: Mysterious ... at least for me! - PIC CCS Post by: niktesla on November 07, 2008, 08:00:41 20:00 Hello,
I need help to find out why the routine of interruption (# int_rda) does not work in this program. If it is removed everything that does not depend on her work. Thanks niktesla :) Title: Re: Mysterious ... at least for me! - PIC CCS Post by: j0k3r on November 08, 2008, 01:12:28 13:12 Hi,
First: "set_tris_d(0b11111111); //somente o pino 2 da porta 'D' como entrada." (Estás a configurar todos como entradas.) All pin´s configured for input´s, and not like you said "only pin2 input". But your problem is the INT_TIMER0. Just disable it and your program run´s, OR add this lines to your code: Code: #int_timer0 Title: Re: Mysterious ... at least for me! - PIC CCS Post by: niktesla on November 09, 2008, 12:17:00 12:17 Hi j0k3r,
There is a proverb in my country that says so: Living and learning ... and dying without knowing! Thank you :D niktesla |