This is a mbed library for a 1.8 inch 128x160 pixel SPI TFT display

Dependents:   ST7735_Pong ST7735_TFT SPI18TFT_FRDM-KL25Z SPI18TFT ... more

Resolved compiler warnings and errors

Hi Jonne, with your library is was very easy to attach the ST7735 display. However I found compiler errors and warning for my board, so I made some small changes to your lib. Maybe you want to pull the changes? I would be glad. Thanks, Christian

ST7735 library, e.g. for Adafruit 1.8" TFT

2 comments:

20 Aug 2014

Hi Christian ! I'll look at it as soon as I have time. You know, the lib was written when there was only one (the LPC1768) mbed available. Its good that you've adapted it to your own board. Thank you for the contribution ! Jonne

20 Aug 2014

Hi Christian. Looks good. However, one question before I commit the changes: on the LPC1768, setting SPI frequency to 16 Mhz really speeded up things (if I remember correctly). You have changed that to 8Mhz. What platform are you targetting and is there a simple way to detect the platform and choose accordingly using a #ifdef conditional group ? Its been a couple of years since I've last coded on the mbed and I am not up-to-date on whats happened since.