Can't get the "VGALiquidCrystal" library examples to work

Recommended Posts

Hi All,

I just got my new Papilio Pro and I was trying the examples from DesignLab. I've been playing around with different examples (Audio, VGA, etc.) and they work fine. But when I run any of the VGALiquidCrystal examples thye are just displaying two rows of green squares but no text in there.

The following screenshot (LCD_Demo.jpg) shows the results I get from the "LCD_Demo" example.

The VGA demos work fine (see screenshot - VGAHelloWorld.jpg)

Just fyi, I'm not using any Wing, I'm just connecting 6 pins in the CH Wing2 port to the VGA cable (V-SYNC, H-SYNC, R, G, B, GND) as in the screenshot - DirectPinout.jpg.

I am wondering if I am missing anything here. Do I require to connect anything else? Working with a real Liquid Crystal display needs to connect a couple of signals (rs, enable, data, etc.) but is it also necessary in this modified version? If not, what do the pins in the VGALiquidCrystal() call mean?






Link to comment
Share on other sites

This is what the example LCD_Demo's circuit looks like:

Char Map.png

You need to make sure that the circuit you are using has the VGA Char Map included. You should be able to just load the circuit for the LCD_Demo to your board, as long as your VGA pinouts match what a VGA Wing connected to CH would be.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.