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: Delay_ms not stopping my code
anthory

Replies: 15
Views: 19090

PostForum: General CCS C Discussion   Posted: Fri Oct 25, 2013 9:35 am   Subject: reply
Posted: Thu Oct 24, 2013 3:58 pm Post subject:

--------------------------------------------------------------------------------

This is the first mention of trying to control a light - if ...
  Topic: Delay_ms not stopping my code
anthory

Replies: 15
Views: 19090

PostForum: General CCS C Discussion   Posted: Thu Oct 24, 2013 2:46 pm   Subject: reply
Get your brain round a simple thing. Your _hardware_ has to match what you want to run.

If you want to run a crystal at 16MHz, you need to start with the crystal. Then HS, and clock=16MHz. LP, is ...
  Topic: Delay_ms not stopping my code
anthory

Replies: 15
Views: 19090

PostForum: General CCS C Discussion   Posted: Thu Oct 24, 2013 8:55 am   Subject: reply
#fuses LP is not an alternative to #use delay(clock= 16M)

You have to specify both the type of oscillator as TTelmah has shown, and also the frequency with #use delay.


So if i specify #fuses ...
  Topic: Delay_ms not stopping my code
anthory

Replies: 15
Views: 19090

PostForum: General CCS C Discussion   Posted: Thu Oct 24, 2013 7:57 am   Subject: Delay_ms not stopping my code
Let's take things very slowly:

1) As PCM programmer has explained, the compiler version number is in the very first line of the .lst file generated when you compile. Find it, and post it. There ar ...
  Topic: Delay_ms not stopping my code
anthory

Replies: 15
Views: 19090

PostForum: General CCS C Discussion   Posted: Wed Oct 23, 2013 11:59 am   Subject: Delay_ms not stopping my code
I added in the #FUSES LP and tried #FUSES HS neither it didnt work. It is still getting hung up on the delay_ms statements.

Also the link you posted brings me to what the software versions fixed ...
  Topic: Delay_ms not stopping my code
anthory

Replies: 15
Views: 19090

PostForum: General CCS C Discussion   Posted: Wed Oct 23, 2013 10:18 am   Subject: Delay_ms not stopping my code
Hello,

First off sorry for not posting my version of compiler but I can't seem to find where it tell me what version I have. Where is it located at?

I'm programming a pic18f46k80, I also don't ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group