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: 16f628a comparator configuration
el-3aba6i

Replies: 5
Views: 15126

PostForum: General CCS C Discussion   Posted: Sat May 04, 2019 12:09 am   Subject: 16f628a comparator configuration
This is the setup i have done after your reply but int won't fire.
setup_comparator(A0_A2_A1_A2_OUT_ON_A3_A4);
enable_interrupts(GLOBAL);
enable_interrupts(INT_COMP);
  Topic: 16f628a comparator configuration
el-3aba6i

Replies: 5
Views: 15126

PostForum: General CCS C Discussion   Posted: Sat May 04, 2019 12:01 am   Subject: 16f628a comparator configuration
Thanks for good explaning.
I'm not using asm code but pic c compiler code.
The code i pasted was from .h pic file. I didn't find any reference explaining it in pic c compiler code directly, all i fi ...
  Topic: 16f628a comparator configuration
el-3aba6i

Replies: 5
Views: 15126

PostForum: General CCS C Discussion   Posted: Fri May 03, 2019 11:20 pm   Subject: 16f628a comparator configuration
I have one input changing in logic. When 5v input i want an interrupt to fire so that to reset a two seven segments with 4 bit decoders counter in port b.
Can anyone help me on configuring the compar ...
  Topic: Global interrupt in pic 16f877
el-3aba6i

Replies: 1
Views: 9168

PostForum: General CCS C Discussion   Posted: Thu Sep 20, 2018 1:04 am   Subject: Global interrupt in pic 16f877
Can i use multiple interrupts in pic16f877a ?
I have this code:

#int_global
void global_interrupt () {
**code**
}

void main () {
**code**
enable_interrupts&# ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group