Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 23, 2024, 10:48:39 10:48


Login with username, password and session length


Pages: [1]
Print
Author Topic: Mysterious ... at least for me! - PIC CCS  (Read 3564 times)
0 Members and 1 Guest are viewing this topic.
niktesla
Cracking Team
Active Member
****
Offline Offline

Posts: 214

Thank You
-Given: 166
-Receive: 280



« 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 Smiley
Logged

Ensinar é aprender, compartilhar é se tornar mais forte!!!<br />Teaching is learning, sharing is becoming stronger!<br />NikTesla
j0k3r
Junior Member
**
Offline Offline

Posts: 40

Thank You
-Given: 43
-Receive: 18


« Reply #1 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
void timer0()
{
//não precisas de ter aqui nada, ou como tens a intenção de o usar, apenas tens de indicar a INT do timer0.
}
Logged
niktesla
Cracking Team
Active Member
****
Offline Offline

Posts: 214

Thank You
-Given: 166
-Receive: 280



« Reply #2 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 Cheesy

niktesla
Logged

Ensinar é aprender, compartilhar é se tornar mais forte!!!<br />Teaching is learning, sharing is becoming stronger!<br />NikTesla
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC