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

question about lcdkb

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
morebudwiser



Joined: 17 Oct 2005
Posts: 26

View user's profile Send private message

question about lcdkb
PostPosted: Tue Feb 28, 2006 10:14 am     Reply with quote

hi could some explain why when i run the lcdkb example when i press a key the number is displayed on the lcd for only a few seconds before disappearing. i though that each key press should be displayed on the next postion of the lcd and the previous keypress should still be displayed until the * key is pressed to clear the lcd.

many thanks for any help given
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Feb 28, 2006 12:54 pm     Reply with quote

It sounds like a power supply problem. Possibly. Check the +5v on
your LCD and make sure it stays at +5v, and doesn't drop down to
a lower voltage.
Guest








PostPosted: Tue Feb 28, 2006 2:34 pm     Reply with quote

hi i am using the 5v from my debugger to power the circuit do you think i need to use an external 5v. and is it ok to connect an external 5v when you have the debugger connected

many thanks for any help
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Feb 28, 2006 3:28 pm     Reply with quote

Quote:

hi i am using the 5v from my debugger to power the circuit do you think
i need to use an external 5v. and is it ok to connect an external 5v when
you have the debugger connected

You first have to configure MPLAB for that mode. I know how to do it
for MPLAB and ICD2. If you have CCS ICD, then I can't help.

1. In MPLAB 7.20, go to the Debugger/Settings menu.
2. In that dialog, select the 'Power' tab.
3. Then un-check the box for " Power target circuit from MPLAB ICD2 (5v Vdd)" and click Apply.
Guest








PostPosted: Wed Mar 01, 2006 5:02 am     Reply with quote

hi i am using the ccs debugger so i downloaded the hex to the chip and run the target board from a bench psu and measured 5.05v on the lcd supply rail and get the same result the lcd will display ready... and when the key is pressed the value is displayed but for only a few seconds. dont think its a voltage problem as the whole lcd does not blank its only the second line were the keypress is being displayed. the only thing is i have modified the kb driver from 3x4 to 4x4 and have it connected to port c

many thanks for any help
morebudwiser



Joined: 17 Oct 2005
Posts: 26

View user's profile Send private message

PostPosted: Wed Mar 01, 2006 5:18 am     Reply with quote

hi got it sorted the problem was that the watchdog was enable in the headerfile so the watchdog time out and reset the pic thus clearing the lcd many thanks to pcm programmer for your help
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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