Muhammad Hussein Tavakoli Posted August 29, 2016 Report Share Posted August 29, 2016 Hello everybody! Is it possible to use uGFX on AVR-based Arduinos? I have seen the example for teensy 3,1 board but that's a ARM-based Arduino board and I've seen in the documentations that uGFX needs a uOS to run and as I know, AVR 8bit microcontrollers doesn't support uOS's . So anybody can inform me? Thank you so much ! Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted August 29, 2016 Report Share Posted August 29, 2016 Hello and welcome to the community! It is definitely possible to run µGFX on an 8-bit AVR microcontroller. I have a friend who successfully ran it on an ATmega with an ILI9341 SPI display. Furthermore, I think that @inmarket also used it on some Arduino system based on an AVR microcontroller. However, while it is certainly possible to run µGFX on such a platform it really isn't recommended. We recommend to use at least a 16-bit platform. Link to comment Share on other sites More sharing options...
Muhammad Hussein Tavakoli Posted August 29, 2016 Author Report Share Posted August 29, 2016 (edited) Thanks a lot ! So what changes I have to make in the library to run it on a 8 bit AVR? (in General) Do you know? Edited August 29, 2016 by Joel Bodenmann Removing unnecessary quote from previous post Link to comment Share on other sites More sharing options...
inmarket Posted August 29, 2016 Report Share Posted August 29, 2016 No changes are necessary. The arduino port was actually initially developed using an 8 bit avr chip. Look carefully at the arduino board examples and the wiki and forum for more arduino info. Start by only turning on the gdisp module. Don't get too ambitious too early. Once you have that working then turn on additional stuff. A good place to start is with the demos/modules/gdisp/basics demo. The 8 bit avr's have limited ram and rom so keep an eye on the resource usage. 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