Jump to content
RobG

(Universal) Color LCD graphics library (2)

Recommended Posts

Hi RobG,

How did you generate the font header file? How would one generate a new font header file for different fonts and sizes?

 

Also - great work on this library!

Share this post


Link to post
Share on other sites

Hey RobG,

 

I recently purchased A V3 Color LCD Booster Pack configured as NEW LP compiant.

Question: Should JP1 through JP4 be soldered/jumpered to '1' inidcated by silksceen?

 

I have interpreted from the description that all (JP1-JP4) should be jumpered to '1'.

 

The BP I recieved JP3 is NOT jumpered to either '1' or '2'.

 

This BP is being used in conjunction with recent TIVA LP.

 

Thanks

 

--John

Share this post


Link to post
Share on other sites

Hi @@mgokturk,

this library was written to be used in CCS.

main.c and test.c is basically your sample code, showing usage of all available function calls.

 

If you want to use Energia instead of CCS, Energia version of this library is right here.

Share this post


Link to post
Share on other sites

Hello:

 

I am new on this, I am asking for your kindly and awesome knowledge.

 

 I use CCS to compile the library, no problems in compilation.  My problem is in the connection. :( I wonder where do I have to connect LED and Reset from the TFT :(I dont have the PCB. I just get the TFT Board with (SDO(MISO), LED, SCK, SDI(MOSI), D/C, Reset, CS, GND, VCC).  I already check the config file and uncomment my board. (I Have an Launchpad MSP430F5529).

 

From the config.h I get:

 

SLCK P3.2
MOSI P3.0
MISO P3.1
CS   P6.5
DC   P6.6
 
Is it right?
 
:( I start to desperate :( Please help
 
Thank you very very much :D

Share this post


Link to post
Share on other sites

Maybe I'm missing something here, but I've tried both versions of code (ugl8msp and ugl16msp) on a TI 5529 Launchpad and the 2.2" without touch and with SD card...   The code compiles fine loads fine, and seems to run fine, but nothing shows up on the screen...

 

The only thing I notice is that just after it runs"initLCD()"  the screen slightly darkens, then after "drawString(5, 5, FONT_SM, "Texas Instruments");"  it goes back to white...

 

I bought two of the screens and both do the same thing...

 

What am I missing?

 

Thanks. 

 

Share this post


Link to post
Share on other sites

Maybe I'm missing something here, but I've tried both versions of code (ugl8msp and ugl16msp) on a TI 5529 Launchpad and the 2.2" without touch and with SD card...   The code compiles fine loads fine, and seems to run fine, but nothing shows up on the screen...

 

The only thing I notice is that just after it runs"initLCD()"  the screen slightly darkens, then after "drawString(5, 5, FONT_SM, "Texas Instruments");"  it goes back to white...

 

I bought two of the screens and both do the same thing...

 

What am I missing?

 

Thanks. 

   Finally figured out what the problem is.

 

It appears the pin out is incorrect for the 5529 Launchpad.  It should be the following (CS and DC pins are incorrect):

#if defined F5529_TI
 
#define LCD_SCLK_PIN BIT2
#define LCD_SCLK_PORT P3
#define LCD_MOSI_PIN BIT0
#define LCD_MOSI_PORT P3
#define LCD_MISO_PIN BIT1
#define LCD_MISO_PORT P3
#define LCD_CS_PIN BIT6
#define LCD_CS_PORT P2
#define LCD_DC_PIN BIT6
#define LCD_DC_PORT P1
 
I hope that helps other...
 
RobG, 
Nice driver set... Any chance you can post schematics or a BOM?
 
Thanks!

Share this post


Link to post
Share on other sites

Hi RobG,

 

I bought your LCD about 2 weeks ago from Tindie.

I am trying to download the graphics library from the Stellaris link - but I am unable to do so, it seems for some reason that I am blocked (I am registered with the forum website).

Is there any other way that I can get access to the files?

BTW I am able to download from this forum no problem.

 

Many Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×