Jump to content

Recommended Posts

Posted

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.

Posted

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 ... #post88929

It 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.

Regards

Christoph

Posted

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.

Posted
Progress is here: https://hackaday.io/project/8539-using-ugfx-in-arduino

I'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

Posted

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

  • 1 year later...
Guest Mohammed
Posted

any progress in this part , any ready examples running with Arduino library ?

Posted

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. 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...