Rei Vilo 695 Posted February 5, 2013 Share Posted February 5, 2013 Here is the library for Rob's nice 2.2" Color LCD Booster Pack with Touch with a reference manual. Distribution107.zip I've tested it successfully with a LaunchPad MSP430G2553 and a StellarPad LM4F120H5QR. Notes SPI maximum speed MSP430G2553 = SPI_CLOCK_DIV4 and LM4F120H5QR = SPI_CLOCK_DIV2 Software SPI implementation doesn't work for getTouch(): issues with shiftIn(). For the LM4F, screen SPI communication needs to be cleaned with a useless point(0, 0); before talking to the touch controller. References Rob's 2.2" LCD+Touch Panel BoosterPack in Store http://www.43oh.com/2013/01/robs-2-2-lcdtouch-panel-boosterpack-in-store/ Mar 19, 2012 / Nov 04, 2012 - RobG - ILI9225B (2.2" with touch) http://forum.43oh.com/topic/1956-universal-color-lcd-graphics-library/#entry23618 Jan 20, 2013 - timotet - Port to Stellaris http://forum.43oh.com/topic/2574-22-color-lcd-booster-pack-with-touch/?p=28092 (Universal) Color LCD graphics library by RobG 22 March 2012 - 03:09 AM http://forum.43oh.com/topic/1956-universal-color-lcd-graphics-library/ Color LCD Booster Pack by RobG 02 February 2012 - 10:01 PM http://forum.43oh.com/topic/1758-color-lcd-booster-pack/ Serial_LCD Library Suite http://embeddedcomputing.weebly.com/serial-lcd.html Fonts generated with MikroElektronika GLCD Font Creator 1.2.0.0 http://www.mikroe.com Enjoy RobG 1 Quote Link to post Share on other sites
Rei Vilo 695 Posted February 5, 2013 Author Share Posted February 5, 2013 ...and a picture Quote Link to post Share on other sites
RobG 1,892 Posted February 5, 2013 Share Posted February 5, 2013 Software SPI implementation doesn't work for getTouch(): issues with shiftIn(). TSC's clock has to be 2MHz or less. Can you try with slower SPI? You could change it inside getTouch() Quote Link to post Share on other sites
Rei Vilo 695 Posted February 5, 2013 Author Share Posted February 5, 2013 Hardware SPI works fine for both screen and touch. Software SPI works fine for the screen but there's an issue with the shiftIn() function used in getTouch(). Quote Link to post Share on other sites
Rei Vilo 695 Posted February 7, 2013 Author Share Posted February 7, 2013 New release Distribution107.zip with Feb 07, 2013 Quote Link to post Share on other sites
Rei Vilo 695 Posted May 29, 2013 Author Share Posted May 29, 2013 This library is deprecated and replaced by the LCD_screen Library Suite. Learn more at http://forum.43oh.com/topic/3911-lcd-screen-library-suite/ 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.