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 support@ccsinfo.com

how can I modify flex_lcd.c to drive NKK Smartswitch LCD

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



Joined: 18 Jul 2006
Posts: 33
Location: Maryland, USA

View user's profile Send private message

how can I modify flex_lcd.c to drive NKK Smartswitch LCD
PostPosted: Mon Jul 24, 2006 8:15 am     Reply with quote

I am a beginner to PIC programming and I am using PIC 18F6722 to drive NKK Smartswitch LCD.

http://www.nkksmartswitch.com/PDF/IS01NCF.pdf?

// As defined in the following structure the pin connection of Port F is as
// follows:
// F0 rs
// F1 rw
// F2 enable
// F3 LCD_LP
// F4 LCD_DOUT
// F5 LCD_BL
// Pins F6 and F7 are not connected

How can I modify flex_lcd.c to drive 36 X 24 pixel NKK Smartswitch LCD

Here is the link to flex_lcd.c
http://www.ccsinfo.com/forum/viewtopic.php?t=24661&postdays=0&postorder=asc&highlight=exexpio&start=0
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jul 24, 2006 11:46 am     Reply with quote

The flex_lcd driver won't work with the NKK SmartSwitch. It's a
completely different type of display. They have a sample driver
here, written in Microchip ASM source code:
http://www.nkksmartswitch.com/agree.asp?url=pdf/PicSampleCode.pdf
Click the Download button to get it.

You'll have to convert it from ASM to C code. Please don't ask me
to do this for you.

Here are other resources:
Circuit Cellar articles:
http://www.circuitcellar.com/library/print/0702/kagan144/index.htm
http://www.circuitcellar.com/library/print/0802/kagan145/index.htm
Source code for the articles:
ftp://ftp.circuitcellar.com/pub/Circuit_Cellar/2002/145/kagan145.zip
PDF of the above articles:
http://www.nkksmartswitch.com/Uploads/DrivingSSPart1and2.pdf

Please do not ask me to translate the C code to CCS for you.
This is your project. You must do it.
pdswar



Joined: 18 Jul 2006
Posts: 33
Location: Maryland, USA

View user's profile Send private message

PostPosted: Wed Jul 26, 2006 1:35 pm     Reply with quote

PCM Programmer,

Thank you very much for the links.
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