Jump to content

Controlling 2nd LCD


Jakes Daddy
 Share

Recommended Posts

Hi All,

Just wondering if anyone can help with this. I'm making a MB with 2 16x2 LCDs. The basic hardware is complete, all my buttons, faders and LEDs are connected, and I have a basic C app (based on the skeleton) that lights the LEDs, and displays on LCD 1 when a button is pressed or fader moved - perfect, all of my soldering is good  ;D

But I can't get the 2nd LCD to display anything. I've wired it as per (my understanding of) the instructions for 2 LCDs (ie. all the pins with the exception of E connected to both LCDs - E on the 2nd LCD goes to J10 RC. IE.

LCD1      CoreJ15        LDC2
------------D0---------------
------------D1---------------
------------D2---------------
------------D3---------------
------------D4---------------
------------D5---------------
------------D6---------------
------------D7---------------
------------B+---------------
------------B----------------
------------Vs---------------
------------Vd---------------
------------VO---------------
------------RS---------------
------------RW---------------
------------E         J10RC--
But I just can't get anything to display on LCD2 - My understanding of the C code is that I need to add 0X80 to the LCD cursor position to address the 2nd LCD - eg:
	MIOS_LCD_Clear();
	MIOS_LCD_CursorSet(0x00);
	MIOS_LCD_PrintCString("MIDI Denon 1800F");
	MIOS_LCD_CursorSet(0x80);
	MIOS_LCD_PrintCString("MIDI Denon 1800F");
	MIOS_LCD_CursorSet(0x40);
	MIOS_LCD_PrintCString("Deck A");
	MIOS_LCD_CursorSet(0xC0);
	MIOS_LCD_PrintCString("Deck B");

Only the 1st LCD displays the message - nothing at all on LCD2 !!!

Any ideas ??

Cheers

JD

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.

Guest
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.

Loading...
 Share

×
×
  • Create New...