Guislice with UTFT and SSD1963 #413
-
Hi I have had GUISlice working on a 2.8" TFT but now I have a 7" SSD1963 TFT that I want to use with GuiSlice. I can get the TFT to work sucessfully using the UTFT master library and the UTFT_Demo_800x480 example. In the GUIslice_config.h file I have uncommented out the line: #include "../configs/ard-shld-eastrising_50_ssd1963_res.h" (the pin numbers are correct) but now my program won't compile. I have attached the errors below:
Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 11 replies
-
Hi @PrattTechnologies -- Can you confirm which version of GUIslice you installed?
I just re-tested the latest GUIslice with The error you are seeing suggests that
thx |
Beta Was this translation helpful? Give feedback.
-
@PrattTechnologies isn't it line 81 of your ard-shld-eastxxx.h file? |
Beta Was this translation helpful? Give feedback.
-
@PrattTechnologies @ImpulseAdventure ???? Well this is a puzzle. Ok, lets start with the error you got at the very first post. Multiple libraries were found for "UTFT.h" Now list the versions of software in use. The Arduino IDE will do this if you you just compile your program so you can cut and paste it to your new post. UTFT DEMO 800x480 doesn't use Touch so maybe URTouch is causing a problem so keep
If that still fails post picture of failure by drag and drop to your post, if you can. |
Beta Was this translation helpful? Give feedback.
-
@PrattTechnologies @ImpulseAdventure Well, those two look good to me. So knowing that you can only use SmallFont at the moment is there any example program inside examples\arduino that the display fails now? Did touch work with ex02? For the Builder you would need to use the Builtin font 5x8 or 10x16 which GUIslice api will change to SmallFont 8x12. I can look at better font support for the Builder and maybe GUIslice API for UTFT displays if that is the only issue left. |
Beta Was this translation helpful? Give feedback.
-
@PrattTechnologies @ImpulseAdventure A little research shows that you can use any of the fonts listed on this web page
Then find the font settings in this same file and modify as so:
That's it. I know its a pain but that's the best we can do until I can modify the Builder. |
Beta Was this translation helpful? Give feedback.
-
@PrattTechnologies I have a beta version of the Builder that will fully support UTFT fonts. |
Beta Was this translation helpful? Give feedback.
@PrattTechnologies @ImpulseAdventure A little research shows that you can use any of the fonts listed on this web page
UTFT Fonts
Say you wanted to use Ubuntu 24x32 pixels. Download it into your arduino\library\UTFT folder, ubuntu.c
Now in the Builder the closest font would be FreeMono, Regular, size 24.
Create your project and do a code gen.
Edit your projectname_GSLC.h file and add this
Then find the font settings in this same file and modify as so: