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 5 matches
CCS Forum Index
Author Message
  Topic: RS485 driver details
zeroskj1988

Replies: 1
Views: 4032

PostForum: General CCS C Discussion   Posted: Sat Jan 14, 2012 11:25 am   Subject: RS485 driver details
Dear friends, I saw ccs driver for use with rs485. But I am very confused with the driver. Is it can be used for max485 for two wire communication ?
Does anybody have any code/procedure to use this ...
  Topic: ac voltage and frequency measurement using clamping
zeroskj1988

Replies: 12
Views: 25618

PostForum: General CCS C Discussion   Posted: Tue Dec 27, 2011 4:40 am   Subject: ac voltage and frequency measurement using clamping

int16 adc_volt,adc_volt_temp;
int16 value,count=0,freq;
int32 cum_adc=0;
float temp;
clear_interrupt(int_timer1);
set_timer1(0);
set_adc_channel(channel);
do
{ ...
  Topic: ac voltage and frequency measurement using clamping
zeroskj1988

Replies: 12
Views: 25618

PostForum: General CCS C Discussion   Posted: Mon Dec 26, 2011 11:21 pm   Subject: ac voltage and frequency measurement using clamping
Thank you, Ttelmah
I want to measure ac signal of about range 230-300, 45-55hz.

if(interrupt_active(INT_TIMER1)) {
cum_adc=0;
d-0; //What does this do?
e=0;
...
  Topic: ac voltage and frequency measurement using clamping
zeroskj1988

Replies: 12
Views: 25618

PostForum: General CCS C Discussion   Posted: Mon Dec 26, 2011 6:10 am   Subject: ac voltage and frequency measurement using clamping
Dear friends,
I want to measure ac voltage and frequency using clamping principle. I used 2 1k resistor to clamp at vcc/2. I am using this program. As result I am getting correct ac value, some times ...
  Topic: 16f873A eeprom error
zeroskj1988

Replies: 1
Views: 4554

PostForum: General CCS C Discussion   Posted: Wed Nov 02, 2011 3:52 am   Subject: 16f873A eeprom error
Hello sir, I am using pic16f873a eeprom to store value. In ccs compiler I write program like this

ROM 0x2100={35,27}

hc=read_eeprom(0);
lc=read_eeprom(1);
to read eep ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group