DPJones Posted February 22, 2018 Report Share Posted February 22, 2018 HI I am very new to this software and have come across a demo for the Psoc using IL9341 can somebody please help me to change the driver to the ST7735 whilst still using the psoc? any assistance would be greatly appreciated. Best Regards David Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted February 22, 2018 Report Share Posted February 22, 2018 Hello David, That's explained here: https://wiki.ugfx.io/index.php/Using_PSoC_Creator#Adding_Drivers Link to comment Share on other sites More sharing options...
DPJones Posted February 22, 2018 Author Report Share Posted February 22, 2018 Hi Joel Thanks for responding I get that part, but my problem is what files do I need to change to be able to use theses files ie some ware the IO is defined and linked in to your library My problem is I dont know which files need to be changed or indeed which parts of these files please can you advise? Best Regards David Link to comment Share on other sites More sharing options...
DPJones Posted February 23, 2018 Author Report Share Posted February 23, 2018 Hi Joel I think I am understanding it more now can you please tell me where and how to alter the display size in your software. Kind Regards David Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted February 23, 2018 Report Share Posted February 23, 2018 Hello David, The display size is handled by the display driver (the GDISP driver). Either the display controller you're using has a fixed-size display size in which case it just returns a static number (like most do) or it's a configurable one like the SSD1963 or the STM32LTDC in which case there's a configuration define in the drivers configuration file. At the end of the day the display size is stored in the GDisplay structure. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now