Example of a simple lcd program

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Post Reply
ukweb
Posts: 16
Joined: Fri Jul 28, 2006 8:35 pm
Contact:

Example of a simple lcd program

Post by ukweb »

Hello
Please can i get code for a simple lcd program. Just to display Welcome on the LCD screen of the matrix multimedia developemt board.
thank you ukweb

Hurdy
Posts: 11
Joined: Fri Dec 09, 2005 3:03 am
Location: South Wales
Contact:

Post by Hurdy »

Hi,

I could do with similar code also.

Thanks,

Rob

Coder
Posts: 1
Joined: Tue Sep 25, 2007 10:52 am
Contact:

Post by Coder »

Hi, This would be most helpful to me too.
Just some C code that writes something to the display.
A starting point that we can learn from, surely you must have some example code knocking around??? Many Thanks.

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Post by Steve »

One way is to download the demo version of Flowcode and try that. It allows you to use the LCD and it produces C code.

Hurdy
Posts: 11
Joined: Fri Dec 09, 2005 3:03 am
Location: South Wales
Contact:

Post by Hurdy »

I have managed to do it with C.

I have used the Microchip C18 software to do it in though.

If you need a copy, email me at hurdystuff@hotmail.co.uk and I'll forward my code to you.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

There should be hundreds of examples of how to code a LCD available online.

Simply choose which compiler you wish to use and then get googling.

eg search term = BoostC LCD PIC code

Hurdy
Posts: 11
Joined: Fri Dec 09, 2005 3:03 am
Location: South Wales
Contact:

Post by Hurdy »

I've created code from scratch. So only little adjustments will need to be made if anyone wishes to see my code but uses a different compiler.

Post Reply