Codevision / LCD Question

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just wanted to ask if the built-in LCD scripts with Codevision will work for an LCD that has 8 data bits? From what I read it sounded like it only addresses 4 data bits on the LCD. And also, how does Codevision handle the required delay after writing a character to the LCD? Does it actually delay in a loop of some sort tying the processor up, or is it just expected that you shouldn't send character updates too frequently and the programmer handles the delay that way?

Thanks,
James

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
scripts with Codevision will work for an LCD that has 8 data bits?
There is also Microcarl's My_LCD_Backpack that runs in 8 bit mode, you will find the code and diagram in the projects forum.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Most character LCDs have a 4-bit mode, and the provided CV drivers are set up for the 4-bit mode.

The CV drivers wait for the "ready" response from the LCD rather than the timing-delay method.

There is a provided CV library for "memory mapped" mode as might be used on an STK200 using '8515 or '162 that have external memory interface.

Lee

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

theusch wrote:
The CV drivers wait for the "ready" response from the LCD rather than the timing-delay method.

As does the My_LCD Serial Backpack.

Attached is the ported code from the ImageCraft C compiler to the CodeVision C compiler.

Due credit is given to JS for his good work.

Attachment(s): 

You can avoid reality, for a while.  But you can't avoid the consequences of reality! - C.W. Livingston

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ohhh now I'm blushing :oops:

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

js wrote:
ohhh now I'm blushing :oops:

You deserve the credit!

You can avoid reality, for a while.  But you can't avoid the consequences of reality! - C.W. Livingston