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 16 matches
CCS Forum Index
Author Message
  Topic: Can only use one .c file in MPLAB IDE
monkeytennis

Replies: 3
Views: 7426

PostForum: General CCS C Discussion   Posted: Tue Nov 15, 2011 12:22 pm   Subject: Can only use one .c file in MPLAB IDE
Okay, so it looks like I needed an IDE edition.

I'll stick to doing it using a single .c file.

Thanks for your help. Smile
  Topic: Can only use one .c file in MPLAB IDE
monkeytennis

Replies: 3
Views: 7426

PostForum: General CCS C Discussion   Posted: Tue Nov 15, 2011 8:14 am   Subject: Can only use one .c file in MPLAB IDE
Hello,

I have just got the latest release (4.126) of the PCH command line compiler and have run the CCS setup program to use it with MPLAB IDE.

However, when I try and build a project containing ...
  Topic: Using TIMER0 with a PIC12F510
monkeytennis

Replies: 3
Views: 5885

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 4:29 am   Subject: Using TIMER0 with a PIC12F510
So I see. Embarassed

I'm not used to these PICs, I mostly use the 18FXXX series. I must have completely overlooked the lack of interrupts!

Thanks very much for your help. Smile
  Topic: Using TIMER0 with a PIC12F510
monkeytennis

Replies: 3
Views: 5885

PostForum: General CCS C Discussion   Posted: Fri Nov 30, 2007 9:55 am   Subject: Using TIMER0 with a PIC12F510
Hello. I want to use a PIC12F510 to produce a rough 4KHz signal using timer 0 but can't seem to get it to work as the compiler keeps saying 'Invalid Pre-Processor Directive' to the line '#INT_RTCC'. ...
  Topic: Can't get DS1306 alarm to operate
monkeytennis

Replies: 5
Views: 13293

PostForum: General CCS C Discussion   Posted: Mon Mar 13, 2006 7:26 am   Subject: Can't get DS1306 alarm to operate
Powering the device from VCC2 seemed to solve the problem. Thanks. I knew it would be something stupid like that!
  Topic: Can't get DS1306 alarm to operate
monkeytennis

Replies: 5
Views: 13293

PostForum: General CCS C Discussion   Posted: Wed Mar 08, 2006 8:47 am   Subject: Can't get DS1306 alarm to operate
Reading the DS1306 datasheet I noted two things in the following paragraphIRQF1 (Interrupt 1 Request Flag) � A logic 1 in the interrupt request flag bit indicates that the current
time has matched th ...
  Topic: Can't get DS1306 alarm to operate
monkeytennis

Replies: 5
Views: 13293

PostForum: General CCS C Discussion   Posted: Wed Mar 08, 2006 8:45 am   Subject: Can't get DS1306 alarm to operate

I don't see in your code where do you activate the bit1 (AIE1) in the DS1306 Control Register. It is vital to assert INT1.


Sorry, I didn't remember to comment on my code. The following couple ...
  Topic: Can't get DS1306 alarm to operate
monkeytennis

Replies: 5
Views: 13293

PostForum: General CCS C Discussion   Posted: Wed Mar 08, 2006 5:55 am   Subject: Can't get DS1306 alarm to operate
Hello.

I have produced the following code to test using the DS1306 RTC as an alarm to trigger an interrupt. The device is using the SPI port and communication appears to work well enough (i.e. I c ...
  Topic: DS2438 with 12V lead acid battery
monkeytennis

Replies: 2
Views: 9003

PostForum: General CCS C Discussion   Posted: Wed Aug 25, 2004 6:49 am   Subject: DS2438 with 12V lead acid battery
Thanks for the reply.

Yes I have already read this appnote but unfortunately it only details the hardware adjustments necessary for using a higher voltage battery pack and not how to use a battery ...
  Topic: DS2438 with 12V lead acid battery
monkeytennis

Replies: 2
Views: 9003

PostForum: General CCS C Discussion   Posted: Wed Aug 25, 2004 5:22 am   Subject: DS2438 with 12V lead acid battery
Hello.

I was just wondering whether anyone had tried using a DS2438 1-Wire Smart Battery Monitor chip with a 12V lead acid battery. The chip includes an 8 bit internal current accumulator, a 16-bi ...
  Topic: timer1 too fast
monkeytennis

Replies: 5
Views: 11801

PostForum: General CCS C Discussion   Posted: Wed Jul 28, 2004 4:43 am   Subject: timer1 too fast
Thanks for the prompt reply...

Well I do normally use the PIC18 series but in this particular case I have had to try and modify an existing circuit (as per Microchip Appnote AN582) which uses an ex ...
  Topic: timer1 too fast
monkeytennis

Replies: 5
Views: 11801

PostForum: General CCS C Discussion   Posted: Wed Jul 28, 2004 4:08 am   Subject: timer1 too fast
Hello.
I've written the program below so that a PIC can be set up to timeout and set a pin high after a user defined period (either in minutes, hours and days). I have used the recommended technique ...
  Topic: LCD driver problem
monkeytennis

Replies: 3
Views: 10172

PostForum: General CCS C Discussion   Posted: Thu Jul 22, 2004 7:09 am   Subject: LCD driver problem
Cheers for that, it worked spot-on first time. Now I've just gotta work out why the rest of it doesn't work. Wink

Simon
  Topic: LCD driver problem
monkeytennis

Replies: 3
Views: 10172

PostForum: General CCS C Discussion   Posted: Thu Jul 22, 2004 3:13 am   Subject: LCD driver problem
Cheers, I'll give that a bash!

Simon
  Topic: LCD driver problem
monkeytennis

Replies: 3
Views: 10172

PostForum: General CCS C Discussion   Posted: Wed Jul 21, 2004 8:40 am   Subject: LCD driver problem
Hi.

I have a circuit built (as in http://ww1.microchip.com/downloads/en/AppNotes/00582b.pdf) and I need it now to do something else. Quite simply it is used to set a day counter and when the count ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group