Jump to content
43oh

GLCD on C2K Launchpad


Recommended Posts

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.

post-1-14264717208615_thumb.jpg

 

LCD_SPI.zip

 

EDIT: picture added

This post has been promoted to an article

Edited by bluehash
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...