CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

INT_EXT
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah
Guest







PostPosted: Fri Oct 12, 2007 4:05 am     Reply with quote

No, of course not.
I added the normal initilisations to 'make sure' things like the PWM are off, and must have overwitten the interrupt enables. Also posted in the form I'd normally lay the code out (which I think makes the 'structure' of loops etc., clearer to see).
ICD, will often cause oddities, but should work. I'd suspect the LED lead is the problem. How are you actually driving the pin?. If a LED is connected, even with a current limit resistor, the physical line will not go 'high', unless you have a fairly 'brutal' pull up present.

Best Wishes
Vamsi
Guest







INT_EXT
PostPosted: Fri Oct 12, 2007 7:38 am     Reply with quote

THanks Jecottrell,

It worked as the way you told. I removed the LED's from PORT B of the PICDEM2+ and it worked fine.... thank you very much...

THank you everyone who has posted their suggestions for this problem. It really helped a lot.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group