jscrane 12 Posted April 17, 2013 Share Posted April 17, 2013 Hi everyone, I did a quick port of these two libraries to Energia on Stellaris. You can find them here: https://github.com/jscrane/Adafruit-ST7735-Library https://github.com/jscrane/Adafruit-GFX-Library Note that I used digitalWrite() rather than messing with port registers. The speed doesn't seem too bad all the same. At the moment, I have only tested with hardware SPI. If you inspect the changes I had to make for Energia, it might help with porting further libraries to Stellaris. Cheers, Steve maxreddy 1 Quote Link to post Share on other sites
Rei Vilo 695 Posted April 17, 2013 Share Posted April 17, 2013 Digging into someone else library isn't easy, especially when the library includes MCU-specific optimisation. Please find a library for the ST7735 tested on the Stellaris / Tiva at [Energia Library] Colour LCD BoosterPack Library The Colour LCD BoosterPack was a universal board for many different screens and controllers. bluehash 1 Quote Link to post Share on other sites
jscrane 12 Posted April 18, 2013 Author Share Posted April 18, 2013 Well there must be people out there without an LCD BoosterPack who are using Energia specifically because of its Arduino compatibility? (I know this describes me for one.) Surely for such people the existence of familiar Arduino libraries is beneficial so they can get started easily with their existing hardware and sketches? Steve maxreddy 1 Quote Link to post Share on other sites
L293D 11 Posted April 22, 2013 Share Posted April 22, 2013 Jscrane - The port of the Lady Ada library is much faster than the other one mentioned here. I have tested both, and your port is faster on the Stellaris, by a long shot. I appreciate the good info. L293D Quote Link to post Share on other sites
icserny 9 Posted May 7, 2013 Share Posted May 7, 2013 I think that the Adafruit's library ported Jscrane is more flexible than the other (published by Rei Vilo): - It handles the differences between different LCD versions. For example I had to change from "black tab" to "red tab" in the example program. - The class Adafruit_ST7735 is a descendant of the Print class, therefore displaying hex numbers or float variables is very easy. Of course this vastes the memory, so it would not be recommended/possible in the case of the MSP 430 Launchpad. It is very convenient, however, for the Stellarpad. The LCD Colour library created by Rei Vilo is more memory effective, so it is recommended for the MSP430 Launchpad. However it doesn't handle the differences between differen LCD versions (for example I had to rewrite the color definition table from RGB to BGR order), and the numerical printout is a bit unconvenient (you may have to write your own output routine). Thank both of you for your efforts! Quote Link to post Share on other sites
hemangjoshi37a 0 Posted May 27, 2017 Share Posted May 27, 2017 does any one have port of this library for MSP430F5529 LP ??? Quote Link to post Share on other sites
Anik96 1 Posted February 25, 2018 Share Posted February 25, 2018 cant access this library... 404. .. I want this. please help. will this work with tiva boards ?? Quote Link to post Share on other sites
Rei Vilo 695 Posted February 25, 2018 Share Posted February 25, 2018 On 25/02/2018 at 6:44 PM, Anik96 said: cant access this library... 404. .. I want this. please help. will this work with tiva boards ?? The LCD_screen Library Suite is no longer available. However, a special edition of the library is included in Energia for the Educational BoosterPack MKII and the Kentec 3.5" screen, and comes as an external library for the Pervasive Displays e-paper screens, to be installed with the Libraries Manager. Watch the training video! Quote Link to post Share on other sites
Anik96 1 Posted February 26, 2018 Share Posted February 26, 2018 Can I make it work with ssd1306 OLED display? Quote Link to post Share on other sites
Derekspeegle 0 Posted September 11, 2019 Share Posted September 11, 2019 I'm trying to get these libraries and can't seem to get the current versions to compile in energia. Can anyone help with getting these libraries to work, or have advice to point me in the right direction? 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.