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 3 matches
CCS Forum Index
Author Message
  Topic: 16F628A, constants used in setup_comparator()
ghiamkiii

Replies: 5
Views: 12837

PostForum: General CCS C Discussion   Posted: Fri Nov 03, 2017 4:50 pm   Subject: 16F628A, constants used in setup_comparator()
Solved !

Now it works Very Happy
  Topic: 16F628A, constants used in setup_comparator()
ghiamkiii

Replies: 5
Views: 12837

PostForum: General CCS C Discussion   Posted: Fri Nov 03, 2017 3:50 pm   Subject: 16F628A, constants used in setup_comparator()
When i use setup_comparator(A0_A3_A1_A2) with A0 and A1 as -input,
on A3 and A2 as +input with an external reference voltage,
and when i vary the voltage of A0 and A1
I get no response on C1OUT an ...
  Topic: 16F628A, constants used in setup_comparator()
ghiamkiii

Replies: 5
Views: 12837

PostForum: General CCS C Discussion   Posted: Wed Nov 01, 2017 3:31 pm   Subject: 16F628A, constants used in setup_comparator()
In header 16F628A.H there are constants for setup_comparator();

Example:

#define A0_VR_A2_VR 0x3ff02
#define A0_A2_A1_A2_OUT_ON_A3_A4 0x7e706

What does the hex code 0x3ff02 mean, etc

I kn ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group