Jump to content
43oh

(Universal) Color LCD graphics library


Recommended Posts

  • 2 weeks later...
  • Replies 127
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

NOTE: Those files are not current as of May 5th 2013. See the first post for the latest. PCF8833 (Nokia 6100) SPFD54124B (Nokia 6085 and 6101) ST7735R (JD-T1800, 1.8" LCD) HX8340B (BTL221722, 2.2" wi

Just FYI. In a couple of weeks, I will be updating this library with the following:   support for HX8340 (2.2" LCD) support for ILI9225 (2.2" LCD with touch panel) landscape/portrait switch most

New versions are here   UPDATE: Sep 3rd 2013 New way to configure dev boards Works with TI's G2 LaunchPad (G2553,) and my G2955, F5172, F5510, F5529 dev boards. Just one line change to switch bet

Posted Images

  • 2 months later...

hello! Can I use this library for LCD HD66760?

 

No, this library works with SPI displays only, you would have to add I2C (and HD66760 config) functions.

 

Hi! Have you got XPT2046 LCD driver?

 

You have to provide more details about your display. XPT2046 is a touch controller, not LCD driver.

Link to post
Share on other sites

New version of my library is now available (see first post.)

 

Added support for large displays, 320 x 240

Added rotation at run time

Supported drivers:

ILI9340/ILI9341 (2.2" 320x240)

ST7735R (JD-T1800, 1.8" LCD)
HX8340B (BTL221722, 2.2" without touch)
ILI9225B (2.2" with touch)

Link to post
Share on other sites
  • 2 weeks later...

Hi Rob and all the other, 

 

I used a MSP430F6638 100 PIN 

I have the following problem by building....

 

Description Resource Path Location Type
#10010 errors encountered during linking; "USB.out" not built USB C/C++ Problem
Description Resource Path Location Type
#10234-D unresolved symbols remain USB C/C++ Problem
Description Resource Path Location Type
#20 identifier "P8SEL2" is undefined msp.c /USB line 44 C/C++ Problem
Description Resource Path Location Type
unresolved symbol setOrientation, first referenced in ./main.obj USB C/C++ Problem
 
And i don't know why, 
#define ST7735 // use for JD-T1800 (1.8")
//#define HX8340 // use for BTL221722 (2.2" without touch)
//#define ILI9225 // 2.2" with touch
//#define ILI9340 // 2.2" 240x320

I changed the PINS to Port 8.

 

The following  are aan "error"

	LCD_SPI_SEL2 |= LCD_SCLK_PIN + LCD_MOSI_PIN + LCD_MISO_PIN;//MSP.C
I used your newest code 
 
I hope you can help me :)
 
greatings from germany
Link to post
Share on other sites

? Are you sure?

I think i have to change the registers or i am totally wrong?

 

for my msp i tried to change the SPI Settings:

#ifdef HARDWARE_SPI
/////////////////////
// hardware SPI setup
/////////////////////
	// setup UCB0
	//LCD_SPI_SEL |= LCD_SCLK_PIN + LCD_MOSI_PIN + LCD_MISO_PIN;
	//LCD_SPI_SEL2 |= LCD_SCLK_PIN + LCD_MOSI_PIN + LCD_MISO_PIN;
	P8SEL |= BIT1 |BIT4 |BIT5 ;
	UCB0CTL0 = UCCKPH + UCMSB + UCMST + UCSYNC;// 3-pin, 8-bit SPI master
	UCB0CTL1 |= UCSSEL_2;// SMCLK
	UCB0BR0 |= 0x01;// 1:1
	UCB0BR1 = 0;
	UCB0CTL1 &= ~UCSWRST;// clear SW
/////////////////////
#endif
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...