Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 07, 2016, 01:29:04 13:29


Login with username, password and session length


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

Posts: 213

Thank You
-Given: 166
-Receive: 278



« on: November 07, 2008, 09:00:41 21: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: 38

Thank You
-Given: 32
-Receive: 17


« Reply #1 on: November 08, 2008, 02:12:28 14: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: 213

Thank You
-Given: 166
-Receive: 278



« Reply #2 on: November 09, 2008, 01:17:00 13: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