The_YongGrand 1 Posted December 14, 2012 Author Share Posted December 14, 2012 Dear ladies and gentlemen, Thanks very much for the support and the improvisations. As I'm a pretty busy dude, my Stellaris playtime has been reduced a bit. I'll come back to playing the Stellaris when I got the time. Keep the improvisations coming, and have a Happy Christmas and Merry New Year too. Quote Link to post Share on other sites
samuel_moraes 0 Posted December 17, 2012 Share Posted December 17, 2012 Hello I 'm new with this things and i need some help, is possible use this with 3.3V some one have the sch to build this? thanks Quote Link to post Share on other sites
Terenceang 0 Posted December 18, 2012 Share Posted December 18, 2012 Hello I 'm new with this things and i need some help, is possible use this with 3.3V some one have the sch to build this? thanks You can get 3.3v LCDs.. e.g. http://www.ebay.com/itm/Character-LCD-Module-Display-LCM-1602-16X2-162-3-3V-/190402541048?pt=LH_DefaultDomain_0&hash=item2c54e035f8 Quote Link to post Share on other sites
samuel_moraes 0 Posted December 19, 2012 Share Posted December 19, 2012 Hi , Thanks for help. I have another problem, I used a display 8X2 and did not work the second line just the first, I do not Know if this code work for this display, and I have tested in another aplictation and display is ok Thanks Quote Link to post Share on other sites
dlejob 0 Posted December 19, 2012 Share Posted December 19, 2012 No problem samuel, You just need to modify the LCDWriteText subroutine and change the case 1 from 0xC0 to 0xA0 Quote Link to post Share on other sites
rupin20 0 Posted December 20, 2012 Share Posted December 20, 2012 Hi, very thanks for code, its correct run on 16x2lcd Salu2 bluehash 1 Quote Link to post Share on other sites
samuel_moraes 0 Posted December 20, 2012 Share Posted December 20, 2012 Thanks a lot but In my case the second line did not work I change the LCDWriteText subroutine and change the case 1 from 0xC0 to 0xA0, but do not work Quote Link to post Share on other sites
suktan 0 Posted January 23, 2013 Share Posted January 23, 2013 Thank you for the code. suktan 1 Quote Link to post Share on other sites
valdas_a 0 Posted February 4, 2013 Share Posted February 4, 2013 hi i have one problem then i init. LCD i get same output on PORTD as on PORTB, Then i make PORTD as output lcd goes nuts. Any idea? Quote Link to post Share on other sites
lerio 0 Posted March 23, 2013 Share Posted March 23, 2013 It doesn't use Port D as an output. From my understanding the code does nothing with Port D so putting it as an output to the LCD you should get nothing. But anyways I am having problems trying to get my LCD display working. It is a 16x2 display. I have tried using 3 different programs to run it. One being the one given here, also tried the program given here http://forum.stellarisiti.com/topic/384-simple-hd44780-library-without-driverlib/ And also tried modifing a program for the LM3SXX microcontroller. All of which seemingly do nothing to the LCD. Turning on the LCD I get the boxe's as "remick" was getting originally. I have the R/W grounded and I cannot change anything on the LCD display, cant even clear it. I tried using 2 different microcontroller boards and two different LCD display's and get the same thing. I am trying to run the code in the CCS Debugger, and I am not sure if it is working properly. I had the microcontroller runing the Project 0 before and when I Debuged the LCD Display the microcontroller Blue LED stay's on. I noticed in all your pictures the build in LED's on the microcontroller are not on. I'm not sure if this has anything to do with the problem or not I am just confused. Quote Link to post Share on other sites
weff47 0 Posted June 25, 2013 Share Posted June 25, 2013 Is there a specific reason you use Port B for the RS and E signals? Is it possible to put these on another Port? Quote Link to post Share on other sites
igor 163 Posted June 25, 2013 Share Posted June 25, 2013 Is there a specific reason you use Port B for the RS and E signals? Is it possible to put these on another Port? I would guess that Port B was used because it is the only full width port that is easily available on the launchpad. (Doesn't have some of the pins devoted to special functions). It would be fairly easy to put them on another port - just rewrite the code a little. e.g. define a new port macros for LCDPORT_RS and LCDPORT_E run through the code and every place it does a pin write to RS or E, replace LCDPORT with the appropriate one of the above macros. In the beginning of initLCD, enable the other port(s) and set E and RS as output. The code in beginning of initLCD would wind up something like this SysCtlPeripheralEnable(LCDPORTENABLE); SysCtlPeripheralEnable(LCDPORT_RS_ENABLE); SysCtlPeripheralEnable(LCDPORT_E_ENABLE); GPIOPinTypeGPIOOutput(LCDPORT, D4 | D5 | D6 | D7); GPIOPinTypeGPIOOutput(LCDPORT_RS, RS); GPIOPinTypeGPIOOutput(LCDPORT_E, E); weff47 1 Quote Link to post Share on other sites
weff47 0 Posted June 25, 2013 Share Posted June 25, 2013 Okay, that was what I was thinking, but the two examples I've seen both used those Port B pins even though they used different data pins. I wanted to use Port B for other functions and all the pins there are currently taken up. I'm writing my own code based on the example here and am going to rewrite the macros to use Port A instead. The end goal is to be able to write to shift registers serially and then output them in parallel to matrixes of LEDs. Quote Link to post Share on other sites
arre 0 Posted July 8, 2013 Share Posted July 8, 2013 Awesome! Gonna try this shortly! Quote Link to post Share on other sites
omarperex 0 Posted November 24, 2013 Share Posted November 24, 2013 Hi im new with TI launchpads and im having problems trying this lib with the TivaC TM4C123GH6PM.Im getting errors like:*#20 indentifier "int32_t" is undefined *#20 indentifier "bool" is undefined<--resource lcd44780_LP.c Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.