Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. Last week
  3. Earlier
  4. Ginput handles mouse or touch events and any other input such as keyboard.
  5. Hello, i have a Waveshare Display with NT35510 Controller (https://www.waveshare.com/wiki/4inch_Resistive_Touch_LCD?Amazon). The Example runs. But now, i would use uGFX with the Display. Has anyone Driver or Example for me? Regards Sascha
  6. So it seems the very basic system is working but nothing else. I have the config file setup correctly and I can draw shapes, etc on the screen. Making a call to the below causes a core panic. //with defines #define textColor HTML2COLOR(0x001f2b) font_t font = gdispOpenFont("UI2"); //in setup gdispGDrawString(0,20,20,"TEST",font,textColor); //These work in setup gdispFillArea(0, 0, 320, 240, mainBackground); gdispFillArea(0, 0, 320, 40, menuActive); gdispDrawLine(0,40,320,40, menuOutline); Also trying to use the GWIN module needs the GINPUT module and that fails. I'm far from figuring that out but it's only worth the effort if I can get the text to draw. Maybe I have a false understanding of uGFX. I would like to make some widgets on the screen that I can move and update from code. I'd like to handle the navigation on my own and be able to highlight areas, etc. Why do I require GINPUT to use GWIN?
  7. Is there a way to use the SPI for another use through the CS pin?
  8. Hi, I was able to get this working (on VSPI, since thats what mine is hardwired to) by adding SPIClass SPI2(VSPI); I then changed all SPI to SPI2 and all HSPI to VSPI. File attached incase this helps anyone else. board_ILI9341.cpp
  9. im trying to run tft lcd 7 inch-24 bit rgb with stm32f103zet (144-pin) by ssd1963 driver. i read all post here and my sample code configuration is same as yours. my sample source is 16 but rgb and the order of connecting LData 0 - 23 of driver to LCD is diffreent from mine that is 24 bit. i even cant turn on the LCD through FSMC Mode!! please helm me how can i run it and where is the problem?!!!
  10. It sounds like something is going on with your memory allocator. The uGFX logo is actually not an image. It is a series of rectangles drawn on the screen. It is therefore possible that this call is the first call to the memory allocator. That is something you can test and debug. The other possibility is that the image is corrupt somehow. This is easy to check by looking at the parameters that are going to be used by the palette allocation and seeing if they are reasonable. Another possibility is that you have stack checking turned on in your compile. Many memory allocators are assumed to be single threaded and will hard-fault if running on a thread on a stack other than the main threads. Given you are running FreeRTOS which is multi-thread aware you can assume that its allocator is multi-thread capable however still check that you are compiling without stack checking turned on.
  11. Last I tested that was sufficient.
  12. Hello, What changes should be made to the gos_chibios.c file? Am I right to assume that I just change #if CH_KERNEL_MAJOR < 2 || CH_KERNEL_MAJOR > 5 #error "GOS: Unsupported version of ChibiOS" #endif to #if CH_KERNEL_MAJOR < 2 || CH_KERNEL_MAJOR > 6 #error "GOS: Unsupported version of ChibiOS" #endif Or is there more I should change?
  13. Hello, I have some troubles with displaying BMP monochrome picture on display. I use the ugfx library with the 128*64 display (ssd1306 controller) and STM32F103CBT6; FreeRTOS uses HEAP4 memory manager. uGFX starts working in a dedicated task (uGFX init) and LOGOis displayed. In process task I try to drawing image (BMP 24*24 pixels). void displayPainter::vPrintScreen(uint32_t numScreen, screenPayload_t& data) { switch (numScreen) { case 0: { static gdispImage myImage; gdispImageOpenFile(&myImage, "gasoline.bmp"); gdispImageDraw(&myImage, 0, 0, myImage.width, myImage.height, 0, 0); gdispImageClose(&myImage); } break; case 1:// Gazoline for station in km break; case 2:// Error menu enter break; case 3://Error entity break; case 4://Eraze error break; case 5://No eraze error break; default: //Startup LOGO and TEST break; }; } But code breaks into the HardFault Handler in gdispImageOpenFile() function (in allocating memory procedure for priv->palette value). This error occures with images, strings and LOGO are drawn correctly. I tryed to insert Image drawing code to uGFX initialization task. Same error occured. What's the matter? What am I doing wrong? Thanks in advance/
  14. The imagebox should automatically redraw when necessary. The only thing you have to make sure is that the image remains opened. The imagebox widget will simply clear the area if the assigned image is not opened (i.e. "nothing" will be rendered).
  15. Hi all, I have an ImageBox in a container. The image related to this ImageBox needs to be loaded from a memory card. GFILE is already working. My doubt is: is there a way to make the image be drawn automatically everytime the container is shown, or should I draw the image manually in this case? Thanks in advance.
  16. Indeed I can download the file now. I think it was a temporary problem. Thank you very much for your help! Ronald Wijnsema
  17. We're happy to help where we can - don't hesitate to ask on the forum. I assume you're referring to the attachment of a few posts above yours? I had no issues downloading it. I've re-attached it to this post. Let me know if the issue persists.ArduinoIDE_ESP32_ILI9341.zip
  18. I would love to try this library but it seems to have a rather steep learning curve. Hope to be using this lib, most popular one I found (bodmer TFT_eSPI) is not async proof and does not support multiple displays. The ArduinoIDE_ESP32_ILI9341.zip project looks very promising since this is precisely the hardware I'm using. However, the file was removed. Can anybody get hold of it? Thanks!
  19. air_265


    When will Studio be available? I looked in the downloads section and in various places, but didn't see it.
  20. I want use ugfx studio for cortex-M4 board, thank you!
  21. Hi, I am very interested in getting Beta Access as I am preparing an lab for real-time programming languages for the summer term at my university. Thanks in advance!
  22. That should definitely go into a separate topic :)
  23. AndyV

    Can't implement GADC

    I did it. I found that the ADC values should be passed as a parameter "rawvalue" to the function DialCallback(gU16 instance, gU16 rawvalue) called by poll timer. Dial attached to sliders works ok. From ADC as well as from encoder. Now new question. May be not for this topic. How to do text string controlled by dial? Something like frequency readout. I think there is only one way. This is Label. But label can not be attached to simple variable in memory as dial and toggle to objects. Maybe there is an elegant way to do this?
  24. I have the STVA070WT-01 model https://www.stoneitech.com I am testing with an arduino leonardo, or uno. I also have a max3232 rs232 serial to ttl adapter to connect the display to the arduino. Also have not looked up what pins to connect this to yet if anyone knows. I want to know how to send a variable to the screen to display it. can have some one to help me getting this stone hmi screen running?
  25. Thanks for the update Joel, cheers
  26. The µGFX library is actively maintained. There is currently no release date for µGFX v3 as we want to put our best efforts into it. The development repository of v3 is not public hence there's very little publicly visible efforts. µGFX v2.9 is known to be stable. While we do not currently add new features to it we are applying patches & hotfixes as they appear. We can only recommend using the µGFX library in your commercial product 😉 If it helps: There's an equally named company behind the µGFX library - This is not just a floating piece of software. Also professional support is being handled through this company.
  27. Hi there, I'm just wondering about progress towards v3. The uGFX site says "actively developed" but there hasn't been any substantial commits for 8 months (besides a comment fix a week ago). We're hoping to use uGFX in a commercial product if possible, but we're scared to use a library that will not be actively maintained. Any update would be appreciated! Thanks, Joshua
  28. Hello, I am new to this ufgx I want to use this Library and it's tool too. I want to Design a GUI with a drag & drop builder. currently Im using roger's Arduino_STM32 core and Adafruit_ILI9341_STM.h for my tft lcd. Can anyone suggest me how to use this ugfx.
  1. Load more activity
  • Create New...