I'm using a sketch that has been tested on a Micro and trying to get it to work on the Minima (with appropriate pin changes). Tons of error messages in Ucglib.cpp.
Is there a page somewhere that has a definitive list of which libraries are known to work correctly with the R4 Minima?
I tried the Arduino_GFX library. It is reported as working on the webpage you provided. However the version linked on Github (JinggJM) is not the same version as the one in the library manager in the IDT (Moononournation). I tried the one in the library manager and it compiles (slowly) but does not work with hardware.
The one in the library manager works with a Micro but not with a Minima.
I would try to report these issues but when I click the "issues" link it just takes me in a circle.
Anyone want to buy a nearly new UNO R4 Minima board?
For the benefits of others reading this, I'll add a link to the library:
Since that one is reported as working (and
I see you reported it here:
By the way, I strongly recommend you take the time to learn how to correctly post code and compiler output on GitHub. The code you posted there was corrupted because you didn't do that.
You can get the correct markup by selecting the code you are posting and then clicking the < > icon on the GitHub comment composer.
Or if you prefer to add the markup manually, you can learn the syntax here:
If you provide details about the problem you are having I could probably help you with that. I would need to know the exact procedure you are performing.
I am surprised by the mention of my fork of the library Arduino_GFX.
My fork only addresses one specific use of this library with Arduino UNO R4, mentioned here: https://forum.arduino.cc/t/support-mcufriend-uno-tft-shield-on-uno-r4/1151857/18
It is not synched to the actual version of the original library, as I wait for Arduino UNO R4 minima to arrive to test with. And it is in no way related to Ucglib.
-jz-
Added: BTW:
Arduino_GFX is largely a redesigned and restructured copy of Adafruit_GFX and its Adafruit_SPITFT, and related Adafruit TFT display classes, with additions (some from other libraries).
Adafruit_GFX/Adafruit_SPITFT currently does not support Arduino UNO R4.
@ptillisch, please add a note to that entry in the list, e.g. only for MCUFriend UNO 8bit shields.
To summarize:
Ucglib works fine on Micro. The same code will not compile for Minima. Library author says he doesn't have time to update it.
Arduino_GFX (JinggJM) as listed on the Uno R4 compatibility list: the author has not tested it with Uno R4.
Arduino_GFX (moononournation) as included in the library works on Micro, but the same code does not work on Minima. Author does not have an Uno R4 to test.
Looks like there is no working library available to support TFT displays on the Uno R4 Minima.
This is not correct. I have tested 8bit parallel TFT shields for Arduino UNO (MCUFriend UNO kind of shields) on Arduino UNO R4 WiFi, with my fork of Arduino GFX. These shields have data pins D0..D7 on UNO pins 8, 9, 2..7. It should also work on Arduino UNO R4 minima, but I could not test this yet. But someone else has tested the code for minima on Arduino UNO R4 minima. Please spell my username ZinggJM correctly!
Jean-Marc Zingg