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 6 matches
CCS Forum Index
Author Message
  Topic: Sampling with ADC
micknfld

Replies: 2
Views: 6877

PostForum: General CCS C Discussion   Posted: Thu Mar 16, 2006 2:59 pm   Subject: Sampling with ADC
I changed it to print just the sum of the 62/63 samples per second:


void clock_isr() {

if (interrupt_count%2 == 0){ // Happens 62 times per second
CT1_Sampl ...
  Topic: Sampling with ADC
micknfld

Replies: 2
Views: 6877

PostForum: General CCS C Discussion   Posted: Thu Mar 16, 2006 2:17 pm   Subject: Sampling with ADC
It seems that it might have something to do with my math when I am trying to compute the average. I seem to get correct results when I just do this:


#INT_TIMER2
void clock_isr() { ...
  Topic: Sampling with ADC
micknfld

Replies: 2
Views: 6877

PostForum: General CCS C Discussion   Posted: Thu Mar 16, 2006 1:40 pm   Subject: Sampling with ADC
I am having troubles sampling multiple voltages with the ADC of a 16F877. I was initially sampling within a timer interrupt but saw on this board that I could use ADC_READ_ONLY and ADC_START_ONLY to ...
  Topic: Sending +++ to modem
micknfld

Replies: 6
Views: 18946

PostForum: General CCS C Discussion   Posted: Wed Mar 08, 2006 7:15 pm   Subject: Sending +++ to modem
I put a delay of 1 second before sending the +++ sequence. That worked. Thanks.
  Topic: Sending +++ to modem
micknfld

Replies: 6
Views: 18946

PostForum: General CCS C Discussion   Posted: Mon Mar 06, 2006 6:43 pm   Subject: Sending +++ to modem
I have a PIC connected to a modem. I use the modem to call another computer to transfer data to it. I am able to connect to the other computer and successfully send data to it. However, I am unable ...
  Topic: PIC16F877 interfacing with LCD and keypad
micknfld

Replies: 1
Views: 5594

PostForum: General CCS C Discussion   Posted: Tue Jan 31, 2006 11:06 am   Subject: PIC16F877 interfacing with LCD and keypad
Hello. I have a little experience with CCS and PIC programming. I am now looking to interface a PIC16F877 with an 16x2 LCD and 4x4 keypad. I know that CCS has the lcd.c and kpd.c drivers and I've r ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group