RobG 1,892 Posted August 26, 2014 Share Posted August 26, 2014 @@russcky, there are few other (non-Energia) libraries floating around here and I remember we did have a discussion about images on 5110 at some point, just can't locate it. russcky 1 Quote Link to post Share on other sites
russcky 9 Posted August 26, 2014 Share Posted August 26, 2014 Thanx @@RobG, yes I've been scouring the forums here and wearing out Google, but I'll keep looking. Thanx for the response, I'll post back here if I find out how to do it. Quote Link to post Share on other sites
russcky 9 Posted August 27, 2014 Share Posted August 27, 2014 Hi @@RobG, found a way to do it using a snip of code from the link you shared Quote Link to post Share on other sites
Vstrom1300 0 Posted February 22, 2015 Share Posted February 22, 2015 Better image of the 5110 display with normal and large fonts: Hi! How to write variable instead text on 5110, please? Tks! Quote Link to post Share on other sites
Vstrom1300 0 Posted February 23, 2015 Share Posted February 23, 2015 Hi! How to write variable instead text on 5110, please? Tks! My answer is: myScreen.text(0, 2, String(int(analogRead(P1_2)))); Quote Link to post Share on other sites
kylej1050 27 Posted April 7, 2015 Share Posted April 7, 2015 Anyone got a working link to the library? Quote Link to post Share on other sites
Rei Vilo 695 Posted April 7, 2015 Author Share Posted April 7, 2015 Anyone got a working link to the library? Have you tried the link in post #2? Quote Link to post Share on other sites
RobOwen 4 Posted June 28, 2016 Share Posted June 28, 2016 I've got the Nokia 5110 LCD working with the MSP-EXP430G2 Launchpad using the Energia code by Rei Vilo in the link in his #9 post above. Thanks to Rei for this. (I'll try putting the link here too.) I've also got the Nokia 5110 working with the TivaC TM4C123GXL Lauchpad using a modification of Rei's code by Clarence Ho (See the series of questions and answers by which Clarence helped me to get the code working on here. (As you can see, I had no idea what I was doing originally - I'd never used C++ before, and not much in C) I then added a series of graphics commands to this code, some modified from libraries meant for Arduinos, and these work well on the TivaC. See this Youtube video and the notes beneath it for details. The code can be downloaded from here. It includes two variations on a simple Pacman style game using the graphics commands. I tried to get the graphics commands working on the MSP-EXP430G2 Launchpad, but it runs out of memory even when adding only one or two of those commands. If I remember rightly, adding one call to print a graphic takes the memory use from around 5k to going over the memory limit by 30 bytes! I tried everything to get this 30 bytes down, but there was either plenty of room or over-limit, and nothing in between. (I have a suspicion that Energia reports over memory problems JUST as it goes over memory; i.e. the 30 bytes isn't the real total if ALL the graphics commands had been loaded. Is that true?) Has anyone posted hints for getting the best from the memory available in the MSP-EXP430G2, i.e. things to avoid that take up a lot of memory? (Thanks to Rei for his contributions. I hadn't really understood how much of the code was due to Rei when I added comments to the LCD_5110_SPI library, so I may have indicated that functions were written by Clarence Ho which were really by Rei - I'll try to go back to change this.) Quote Link to post Share on other sites
hutto1 0 Posted February 2, 2017 Share Posted February 2, 2017 Is there a working link to the library? It would be much appreciated! Quote Link to post Share on other sites
Rei Vilo 695 Posted February 2, 2017 Author Share Posted February 2, 2017 Is there a working link to the library? It would be much appreciated! The answer is on the post just before yours. 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.