Replies: 19 comments 17 replies
-
Hi again, i tried again, but nothing... I don't know why my display only works with the in the serial monitor: GUIslice version [0.17.0]: |
Beta Was this translation helpful? Give feedback.
-
Inside your ard-shld-mcufriend_4wire.h uncomment I suspect the board may not be id'ing itself correctly. If so at the top of your file is a line you can uncomment to your desired board I'd. Paul-- |
Beta Was this translation helpful? Give feedback.
-
@Tizfaver -- the initialization is showing a failure because your SD card init failed. Could you first let us know if the display initialization works if you set
|
Beta Was this translation helpful? Give feedback.
-
@yesnoj Have you tried PaulStoffregen/XPT2046_Touchscreen/examples/TouchTest.ino or TouchTestIRQ. Does either work?
Paul-- |
Beta Was this translation helpful? Give feedback.
-
@yesnoj Its possible we have a language barrier here so I'll try again. Does PaulStoffregen/XPT2046_Touchscreen/examples/TouchTest.ino work? yes, no? Previous post of yours says With the MCUFriends calibration native sketch works perfectly If you used diagnose_Touchpins.ino or TouchScreen_Calibr_native.ino successfully then your touch doesn't have a xpt2046 chip. Its what is called a simple 4 pin touch which needs to use Arduino\libraries\Adafruit_TouchScreen library. If all of this is true first download this library and try its example edit it to use the pin outs that were reported by MCUFRIEND_kbv diagnose_Touchpins.ino Paul-- |
Beta Was this translation helpful? Give feedback.
-
@yesnoj I suspect you are not using the latest version of guislice api since I repaired the spinner control over a year ago. Issue #459
If not you just need to update to latest version. You can't use Arduino IDE for this you need to down load from github guislice repository on its main page you will see Code click it and download the zip. If you have 0.17.1.3 then I really have no idea what is going on. By the way, my 0.17.1.3 spinner doesn't need GSLC_FEATURE_COMPOUND so it can be set back to 0 |
Beta Was this translation helpful? Give feedback.
-
@Pconti31 |
Beta Was this translation helpful? Give feedback.
-
@yesnoj integrate just a component into my already existing project? Did you create your project with the Builder? If not, you created by hand then you are stuck with editing your project and adding new components by hand. I had to remove importing non-builder projects due to unreasonable complains from users about so many fixes needing to be made after the import. Paul-- |
Beta Was this translation helpful? Give feedback.
-
@yesnoj adding an image, bmp 24bit, cause the error
than on edit your ino file to add your c array
and add a pointer to this array in your guislice ui element creationusing gslc_GetImageFromProg instead of gslc_GetImageFromSD
Paul-- |
Beta Was this translation helpful? Give feedback.
-
@yesnoj post a zip file of your .prj file and I'll try to see the problem. |
Beta Was this translation helpful? Give feedback.
-
@yesnoj If you are using the builder and you have modified your C Image arrays to include height and width you can use the builder to create your image ui elements, just select the image ui element and the builder will first open arduino_res folder but you simply move to where ever you have stored your C file arrays (one file per image) and you will be able to select them and the builder will display and generate code for showing them. |
Beta Was this translation helpful? Give feedback.
-
@yesnoj Depends upon what you mean by long press. I have an example of a continuous press to run a motor while button is pressed then stop when not pressed inside my GUIsliceSolutions repository apps/ContinuePress-Btn if this hepls you please leave a star in the repository. I would like to have more than two stars here :) If you need something else post a better description of your requirements. |
Beta Was this translation helpful? Give feedback.
-
Some notes about GUIslice : It would be nice and I have thought about it but see my answer to your number 3. Remember though that the order you create pages has nothing to do with the order of display. You control that at runtime. Also, my latest Builder shows you the page order in the tree view collapsed so even if you had 20 or more pages its easy to jump between them. 2)A bigger keypad/numpad, where is possible to set the size, the position, or if need to be full screen (like the one i've implemented in the short video above) For position change X and Y values. 3)Have added for testing a keypad/numpad, but once i've deleted from the builder, the generated code still continues to add it...! Yes, but without anyone in the community offering to help me out this won't get fixed. You will need to delete by hand. 4) I'm trying to test what i need to convert my project, but i don't know why just change the color works, and not the text! You should read my FAQ.pdf. See "Can you change a Text String at runtime?" The reason I can't help more is that you failed to show the code creating your button. This means you can't add UI elements at runtime. You need to allocate memory in advance. I don't know if that's your problem or not since again you haven't given enough code for me to see. Paul-- |
Beta Was this translation helpful? Give feedback.
-
@yesnoj For your long press see my GUIsliceSolutions repository apps/Longpress-Btn The FAQ.pdf is with GUIsliceBuilder Releases as one of the 9 assets including the UserGuide.pdf Again you only gave a screen shot no code. I'm not a mind reader... Post a zip of an actual tiny project file that fails. Paul-- |
Beta Was this translation helpful? Give feedback.
-
@yesnoj You turn off the generation of button callback edit->options General Tab at bottom |
Beta Was this translation helpful? Give feedback.
-
@yesnoj you can also avoid builder code by simply adding your own on the button property also Preserve Button Callbacks? set to false; only works if you exit and reopen the builder. |
Beta Was this translation helpful? Give feedback.
-
@yesnoj Without an actual example i can't help. Paul-- |
Beta Was this translation helpful? Give feedback.
-
@yesnoj For color changes you can edit the GUIsliceBuilder/templates/guislice_themes.json file.
and change any colors colors you want. various web sites can convert rgb colors to hex values You can also if add your own color theme if you understand json syntax otherwise just edit the GUIslice one. Paul-- |
Beta Was this translation helpful? Give feedback.
-
@yesnoj If you edit a theme all newly created UI elements will have your new colors but old ones will not be changed unless you go to Project Options tab and select a change in theme. |
Beta Was this translation helpful? Give feedback.
-
Hi I bought this display: this
In the back of the shiled is written that thew drivers are: ILI9488, ILI9486, HX8357D
I installed all libraries: Adafruit GFX, mcufriend, GUIslice-master
After this, I uncommented in
/src/GUIslice_config.h
the line that have#include "../configs/ard-shld-mcufriend_4wire.h"
, and after that i changed in the file/config/ard-shld-mcufriend_4wire.h
the line that have#define GSLC_SD_EN
0 in#define GSLC_SD_EN 1
Anrduino IDE run the code without problems, no error, nothing... the problem is that the screen is blank, and i don't see nothing.
But with the example
GLUE_Demo_480x320
from the library MCUFRIEND_kbv the screen works.Can somebody help me?
Beta Was this translation helpful? Give feedback.
All reactions