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 7 matches
CCS Forum Index
Author Message
  Topic: 12f629, interrupt on pin change
lukyluke

Replies: 7
Views: 18424

PostForum: General CCS C Discussion   Posted: Sun Mar 06, 2011 3:25 pm   Subject: 12f629, interrupt on pin change
Sorry it was in my .h file, a way to change the signal PIN:

#define INT_DCC 0x080B08

which comes from 12F629.H:

#define INT_RA3 0x080B08
  Topic: 12f629, interrupt on pin change
lukyluke

Replies: 7
Views: 18424

PostForum: General CCS C Discussion   Posted: Sun Mar 06, 2011 3:05 pm   Subject: 12f629, interrupt on pin change
Hello!

I'm working on a project with a PIC 12F629... A task the PIC should perform is decode a digital signal, applied on a digital PIN. The signal is a square wave with a period of about 120us. I ...
  Topic: Strange compilation problem
lukyluke

Replies: 8
Views: 8725

PostForum: General CCS C Discussion   Posted: Sat Feb 19, 2011 4:55 am   Subject: Strange compilation problem
Friends,

Thanks for your suggestion and the explanation (very interesting, I never investigated about the OSCCAL feature): it worked fine and I was able to find - in my software - the flag to prese ...
  Topic: Strange compilation problem
lukyluke

Replies: 8
Views: 8725

PostForum: General CCS C Discussion   Posted: Fri Feb 18, 2011 2:11 pm   Subject: Strange compilation problem
mmm maybe I wasn't clear in my explanation: my ASM source doesn't stop at 0004, but the instruction at that address make a CALL to the last memory address (CALL 3FF) and the program stops (with a si ...
  Topic: Strange compilation problem
lukyluke

Replies: 8
Views: 8725

PostForum: General CCS C Discussion   Posted: Fri Feb 18, 2011 2:03 pm   Subject: Strange compilation problem
thanks for your support... very strange I've just copy&paste your source code in my C file, and here's the result:

CCS PCM C Compiler, Version 4.057, xxxxx 18-feb-11 21.01

...
  Topic: Strange compilation problem
lukyluke

Replies: 8
Views: 8725

PostForum: General CCS C Discussion   Posted: Fri Feb 18, 2011 1:44 pm   Subject: Strange compilation problem
Hello

4.057, with a further investigation it seems INTRC_IO is the problem, if I change to XT (for example) the ASM generated is correct...
  Topic: Strange compilation problem
lukyluke

Replies: 8
Views: 8725

PostForum: General CCS C Discussion   Posted: Fri Feb 18, 2011 1:32 pm   Subject: Strange compilation problem
Hello!

I'm working on a very simple project with a 12F629 but I'm stuck in a problem I can't understand...

C Code:

#include "C:\ServoDecoder_PIC\servodecoder.h"
void main(& ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group