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: how to configure the comparator 18f2550
Antony77

Replies: 1
Views: 4083

PostForum: General CCS C Discussion   Posted: Sun Jul 18, 2010 10:40 am   Subject: how to configure the comparator 18f2550
What is the difference between "interrupt and clear pin" and "interrupt and set pin"? I have to compare such a voltage of 3.13v with pin A3... What should I set in VREF? Because it ...
  Topic: PWM not work on 12f683
Antony77

Replies: 2
Views: 4724

PostForum: General CCS C Discussion   Posted: Sat Jul 17, 2010 6:21 am   Subject: PWM not work on 12f683
Oh I forgot to set the duty at 50%...What value should I use for 50%?
Why L? and why "setup_timer_2(T2_DIV_BY_1,4,1); //Gives clock/(4*5)" ?
  Topic: PWM not work on 12f683
Antony77

Replies: 2
Views: 4724

PostForum: General CCS C Discussion   Posted: Sat Jul 17, 2010 3:33 am   Subject: PWM not work on 12f683
Hi I wrote this code to generate a frequency of 1MHz with a 12f683 using an external 20MHz quartz ... why not working? here's the code:
#include <12F683.h>
#device adc=8

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


Powered by phpBB © 2001, 2005 phpBB Group