Jump to content
43oh

Very Basic HD44780 driver for Stellaris LaunchPad


Recommended Posts

  • 5 months later...
  • Replies 34
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Here's a very basic HD44780 driver for Stellaris Launchpad.   Supports up to 20x4 LCD and a full PORTB register is used. Due to the nature of the GPIOPinWrite function which uses masking and whatnot

R/W pin should not be left floating. Tie it to ground (1 = Read, 0 = Write) - the library just writes commands to the LCD module

Thanks a lot ! Problem solved After grounding R/W pin display started to work.     Thanks guys !

Posted Images

  • 1 month later...

i changed to PORT,connected the LCD to the relevanmt PORTA pins and the LCD is not showing anything,here are my macros

#define LCDPORT   GPIO_PORTA_BASE
#define LCDPORTENABLE    SYSCTL_PERIPH_GPIOA
#define RS GPIO_PIN_2
#define E GPIO_PIN_3
#define D4 GPIO_PIN_4
#define D5 GPIO_PIN_5
#define D6 GPIO_PIN_6
#define D7 GPIO_PIN_7
 
when using PORTB its working just fine but moving to PORTA it doenst,what could be the problem?
Link to post
Share on other sites
  • 5 months later...

excuse me ! The_YongGrand

The lcd still doesn't work..

Does it require some change to make it run ..

 

Could you help me solve this problem? Thank you 

 

Please see http://www.catb.org/esr/faqs/smart-questions.html

explain what the problem is, and what you have done so far.  (Which launchpad using, How you connected, what pin definitions, any other hardware, ....)

Link to post
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.


×
×
  • Create New...