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

Quadrature Encoder Using the PIC18F2331/PIC18F2431
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
scottc



Joined: 16 Aug 2010
Posts: 95

View user's profile Send private message

PostPosted: Mon Feb 21, 2011 6:25 pm     Reply with quote

PCM I loaded the hex file into the CCSLOAD program the
LP fuse does not even show as a configuration option under the
configuration/ID screen. The oscillator config shows
High Speed Osc (>4mhz for PCM/PCH)

Hardware programs fine and runs fine

Thanks Scott
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Feb 21, 2011 7:40 pm     Reply with quote

Quote:
(myvalue=200) && (POSCNTL=200);

The AND operator has no real effect in this line.
The code above has the same effect as the following:
Code:

myvalue=200;
POSCNTL=200;

The two lines above show how it should be written.


Quote:
LP fuse does not even show as a configuration option under

CCSload may ignore it for some reason, but it's a mistake to put LP
in a program that has #use delay() set for 10 MHz. It should be set
to HS.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group