inmarket Posted November 21, 2015 Report Share Posted November 21, 2015 An example sketch has been added in the boards/base/ArduinoTinyScreen directory. It shows how to use ugfx as an Arduino library using the standard Arduino development software.Please read the instructions in readme.txt and the example carefully as there are a few steps associated with setting it up due to the strange library system of the Arduino development software. Link to comment Share on other sites More sharing options...
crteensy Posted November 23, 2015 Report Share Posted November 23, 2015 I've tried it and it basically works (compiles, that is). However, in order to be able to keep ugfx configurations for different projects separated, Arduino must be tricked into selecting the right "installation" of ugfx. Some remarks about that are here (posts #20 and #21): https://forum.pjrc.com/threads/26535-uG ... #post88929It might be possible to make an even cleaner approach by separating ugfx from a project-specific configuration and the low-level drivers. I'll try that later.RegardsChristoph Link to comment Share on other sites More sharing options...
inmarket Posted November 23, 2015 Author Report Share Posted November 23, 2015 Thanks Christopher. Can i please ask that you copy that post on creating hardware specific versions of the library into this thread so other ugfx users will have easy access to it as well. It is a good idea. Link to comment Share on other sites More sharing options...
crteensy Posted November 23, 2015 Report Share Posted November 23, 2015 I'm currently experimenting a bit with arduino and ugfx and I'll post my results here when I know what's possible. Link to comment Share on other sites More sharing options...
crteensy Posted November 24, 2015 Report Share Posted November 24, 2015 Progress is here: https://hackaday.io/project/8539-using-ugfx-in-arduinoI'll sum it up here when I'm satisfied with the result, with a clear example, Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted November 24, 2015 Report Share Posted November 24, 2015 Progress is here: https://hackaday.io/project/8539-using-ugfx-in-arduinoI'll sum it up here when I'm satisfied with the result, with a clear example,This looks great! Thank you very much for your work!If this is "finished", would you like to add the guide as an article to our wiki? We are going to add several guides like that for other IDEs such as Keil µVision in the near future as well. It would be nice if everything would be in the same place. We already have a guide for the ChibiStudio that was contributed by a community member (http://wiki.ugfx.org/index.php?title=Using_ChibiStudio) and right now another community member is working on an in-depth step-by-step guide for using the GIT repository (work in progress): http://wiki.ugfx.org/index.php?title=GIT_Instructions~ Tectu Link to comment Share on other sites More sharing options...
crteensy Posted November 24, 2015 Report Share Posted November 24, 2015 Success! I can write a wiki article on this, but I think we should wait for the hackaday crowd to pick this up and hopefully give us some feedback... Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted November 25, 2015 Report Share Posted November 25, 2015 Glad to hear that you got it working. Great work!If you could write a wiki article that would be great - we appreciate it very much. Let us know when you think that it is time to do so and we will create a wiki account for you Thank you for your contributions to this project!~ Tectu Link to comment Share on other sites More sharing options...
Guest Mohammed Posted July 26, 2017 Report Share Posted July 26, 2017 any progress in this part , any ready examples running with Arduino library ? Link to comment Share on other sites More sharing options...
inmarket Posted July 26, 2017 Author Report Share Posted July 26, 2017 Crteensy's link above should give you how he integrated uGFX. It is a great strategy for a serious arduino programmer. For the less serious see the wiki article. It is a slightly simpler method but less suitable for multiple projects. Once setup most of the uGFX demos will run subject to RAM and ROM. eg the combo demo may struggle to fit non ARM arduino cpus due to lack of resources. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 27, 2017 Report Share Posted July 27, 2017 16 hours ago, inmarket said: For the less serious see the wiki article. For completeness, we're referring to this one: https://wiki.ugfx.io/index.php/Teensy 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