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

Search found 4 matches
CCS Forum Index
Author Message
  Topic: Press button interrupt help
Chrill3

Replies: 12
Views: 24316

PostForum: General CCS C Discussion   Posted: Sat Mar 14, 2015 4:19 pm   Subject: Press button interrupt help
Hi everyone

thanks for all help.
I had to right click on project and go to set configuration -> costumize and -> PICkit2 -> mark the 3 state on 'release on reset'.
everything work perfec ...
  Topic: Press button interrupt help
Chrill3

Replies: 12
Views: 24316

PostForum: General CCS C Discussion   Posted: Thu Mar 05, 2015 1:23 pm   Subject: Press button interrupt help
Hello thanks for the help

i have changed the code a little bit

#include <16F690.h>
#use delay(clock=4000000)



void init(void);
void run(void);
void button ...
  Topic: Press button interrupt help
Chrill3

Replies: 12
Views: 24316

PostForum: General CCS C Discussion   Posted: Sun Mar 01, 2015 10:29 am   Subject: Press button interrupt help
Thanks for the swift reply.


I have now been checking the example code 'ex_butt.c' that i think are similar to my project.
I did also delete

enable_interrupts(INT_EXT);
enable_in ...
  Topic: Press button interrupt help
Chrill3

Replies: 12
Views: 24316

PostForum: General CCS C Discussion   Posted: Sun Mar 01, 2015 6:32 am   Subject: Press button interrupt help
Hello everyone Very Happy

I need some help with interrupts on PIC16F690.
I want to enable interrupts on PORT RA2,
I am running on the PICkit 2 low PIN count board.

here is my code:


#include ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group