Jump to content

Recommended Posts

Posted

What are some of the options for LCDs.

To be more specific: I have 20X2 displays laying all over the place. I know the best setup is with 2 x 40x2 LCDs.. so.. can two 20x2 displays be chained together to work like a 40x2, and thus use FOUR 20x2 displays?

Or is the hardware limitation TWO displays, regardless of their configuration?

The data lines on the displays can all be daisy chained, so the only real limitation here is that 4 pins need to be used from the core to handle the enable for each display. Is this a supportable feature or would I have to write some crazy MIOS code to make it work?

I might consider a seperate pic 16F84 or some such to 'fool' the core into thinking its connected to two 40x2s, and stream out data to 4 displays as an easier option.

How does the Core handle lcd messaging. Awareness is set as a user panel option or is it set when you compile?

Posted

LCDs cannot be cascaded, the data and control lines have to be connected in parallel, and the enable lines have to be controlled seperately. By using the MIOS_LCD_Init function with different parameters for IO pin assignment of the enable line, you can select as much LCDs as IO pins are free. Anyhow, you will need to adapt the software... if you build up an application from scratch, this will be easy. If you are trying to consider LCD switching in an existing application, it will be a lot of effort

Best Regards, Thorsten.

Posted

P.S.: if compatibility does matter, you could write a custom LCD driver instead of switching between the displays via MIOS_LCD_Init

A CLCD custom driver is already available, you only need to redirect the enable lines depending on the cursor position

Best Regards, Thorsten.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...