Herb Posted June 3, 2019 Report Share Posted June 3, 2019 Hello - I am wanting to evaluate uGFX library with the least amount of effort as this is a afterthought for a project. All I have is a 128 x 64 monochrome LCD display that I would like to write some text and maybe draw a simple box or two. What is the least I need to add to the project in files ( I am very limited on memory already) to get a simple display up and running and what function would I need to write or is called that would write the pixels. There is NO OS but have access to timers etc on micro controller. Any help would be appreciated. Thanks HBer Link to comment Share on other sites More sharing options...
inmarket Posted June 3, 2019 Report Share Posted June 3, 2019 If you are extremely memory constrained, only want to do a couple of boxes and some text with no OS, ugfx may not be the best choice for you. There are a number of Arduino libraries that directly drive the display that may be better. uGFX is intended as a full graphics library and windowing system but one that can run on embedded systems. As a graphics library it is probably heavier than you might want. If however you want to try, the minimum set of modules to turn on is GDISP using the RAW32 or Arduino version of GOS. If you look in the gfxconf.h file you will see all the options that can be turned off and on. Link to comment Share on other sites More sharing options...
Herb Posted June 4, 2019 Author Report Share Posted June 4, 2019 Thanks for your response Inmarket but I do not understand your response ? If I want to try the minimum set of modules (I assume uGFX) "to turn on is GDISP using the RAW32 or Arduino version of GOS" not sure what you mean ? and assume the gfxconf.h file contains all the necessary features available to be enabled or disabled ? Thanks HBer Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted June 4, 2019 Report Share Posted June 4, 2019 I think you need to read the first few basic articles of our documentation such as this [1] and this [2] to understand things like what a module is and how to enable or disable modules. [1] https://wiki.ugfx.io/index.php/Architecture [2] https://wiki.ugfx.io/index.php/Configuration 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