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

where is the mistake?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Oct 13, 2005 4:08 pm     Reply with quote

Quote:
second program which you send only run led lamps but lcd is not work

I don't know. It works great for me. I'm using the same main()
code that you just posted. It says "savas" right on the LCD.

I have a question. In one of your previous posts, you show a
oscillator speed of 16 MHz. My PicDem2-Plus came with a 4 MHz
oscillator in the Y2 socket.

Are you sure you have a PicDem2-Plus ? Check the oscillator
package in location Y2 on the board. Is it really 16 MHz ?
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Thu Oct 13, 2005 4:16 pm     Reply with quote

Yes, Lower right corner of board. "PICDEM 2 PLUS DEMO BOARD"
I just changed Y2 to 16Mhz because that is what I use on my production boards.

Perhaps I hardcoded a delay? .....
sure enough,...I have a d_cycle defined and that changes with the clock.

I'll edit driver and note that d_cycle, may need to be adjusted to suit clock.

I changed to 4MhZ and retested.
retest still worked. Still don't know what isn't working.
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
Page 2 of 2

 
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