CorB 64 Posted September 11, 2012 Share Posted September 11, 2012 (edited) Hi all, The attached code shows how a small GLCD (boosterpack for MSP430, http://lars.roland.bz/lcd/ ) can be used on a C2K Launchpad. All the code used to display characters etc is identical to the code I was using on the MSP430 Launchpad, the only difference can be found in the SPI routines. On the MSP430 Launchpad I was using (based on Lars Rolands code) a MSP430G2553 chip with built-in SPI. On the C2K Launchpad I have not (yet) been able to use SPI on this GLCD so the code uses bitbanging to send the SPI commands to the GLCD. Running the code will display normal characters (6x8 pixels), large numbers (12x16 pixels) and uses the lower part of the GLCD as a graphic screen to display a simple bargraph. I am working on further expanding this GLCD library so all pixels on can be controlled by the user. On the MSP430 Launchpad was too limiting to achieve this, on the C2K launchpad this should not be a real issue allowing "live" graphics on this small screen. regards CorB PS. Thanks to all that have helped me during the problem-seeking/solving. LCD_SPI.zip EDIT: picture added This post has been promoted to an article Edited September 11, 2012 by bluehash msptest6 and larsie 2 Quote Link to post Share on other sites
msptest6 0 Posted September 11, 2012 Share Posted September 11, 2012 Nice work CorB.. Do you have any pics? Quote Link to post Share on other sites
CorB 64 Posted September 11, 2012 Author Share Posted September 11, 2012 Hi Bluehash, Picture added to the original post, did not do that originally due to the 500k limit. But I still have a few 100k left to post cheers CorB Quote Link to post Share on other sites
msptest6 0 Posted September 11, 2012 Share Posted September 11, 2012 Hi Bluehash, Picture added to the original post, did not do that originally due to the 500k limit. But I still have a few 100k left to post cheers CorB Increased upload limit to 1Mb.. Just let me know if you fall short. 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.