Jump to content
Sign in to follow this  

Demo Board Lcd Problem

Recommended Posts

I am using boostc++ and writing a program for work. My boss bought a demo board from mikroelectronica that has the lcd wired funny: portb is used for data and control in what appears to be 4-bit low. The RW pin on the LCD is connected to ground. E=B5, RS=B4, Data=B0-B3 to lcd data pins D4-D7.


I am trying to rewrite the lcd_header.h file to be compatible with this configuration. I have tried to modify it but so far I get exactly zip on the lcd. I am certain the lcd is functional. I am certain my code is fucntional. These have both been tested in other ways. Can anyone help me out with this?


Where in the header file are the data pins set? I removed the rw pin from the template and from each of the defines (not sure if that helped or hurt). I don't really know what I'm doing on this, so any and all help will be greatly appreciated.



Share this post

Link to post
Share on other sites

I have the same problem with another board, the ET Base 8722.

Using their demo made with CCS works fine.


Using Sourceboost program with LCD driver lcd_header produces nothing on the LCD

which works fine on the other driver. I have an LED flashing after the LCD data to verify the

program is getting thru.


Anyone have any idea on whats wrong?




Edited by Carlos

Share this post

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...