pic32+LCD, any good graph library ? - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: October 10, 2013, 07:16:07 pm
content: Hi, i'd like to buythisboard which comes with a pretty PIC32 MPU and a 320x240 LCD. I an looking for good library in order to have "windows", "graph", "icons" and other graphical objects.Do you know a good piece of software ?

author: kripton2035
author_rank: Super Contributor
timestamp: October 10, 2013, 07:31:11 pm
content: why not use the software that is next to this board ?http://www.mikroe.com/visualtft/

author: legacy
author_rank: Super Contributor
timestamp: October 10, 2013, 07:48:03 pm
content: It costs pretty the same as the board, i am looking for something similar OpenSource

author: mrflibble
author_rank: Super Contributor
timestamp: October 10, 2013, 07:55:40 pm
content: You could try:http://ugfx.org/get-ugfx/11-documentation/37-get-ugfx-chibios+http://forum.chibios.org/phpbb/viewtopic.php?f=3&t=715No idea about the pic32 port, but ugfx (formerly known as tdisp) works just fine on chibios on stm32f4.

author: veryevil
author_rank: Unknown
timestamp: October 10, 2013, 08:25:00 pm
content: Microchip have their ownhttp://www.microchip.com/pagehandler/en-us/technology/graphics/tools/software.html

author: dannyf
author_rank: Super Contributor
timestamp: October 10, 2013, 10:12:19 pm
content: emWin.Both NXP and ST have their versions available.I also think Microchip offers some graphics libs.

author: boz
author_rank: Regular Contributor
timestamp: October 18, 2013, 09:48:54 am
content: The Microchip libraries are quite hard for the beginner but are very comprehensive if you can stick with them.If you want something easier, copy the UTFT libraries for arduino/chipkit (pic32), they are open source, should work ok with little modification and give you a good start. The Mikroe libraries are unfortunately closed source, if you can live with that and have one of their PIC32 compilers then you shouldnt go wrong either.

author: tszaboo
author_rank: Super Contributor
timestamp: October 18, 2013, 10:00:29 am
content: Quote from: veryevil on October 10, 2013, 08:25:00 pmI was working with the Microchip graphical library for a long time. I must say, it is reasonably good for drawing menus, keyboards, print on the screen, and drawing pictures. But it was also required to optimize the library, as it was pain slow out of the box. ie. a box drawing was working for any angle box, we used only 90 degrees rectangles so after rewriting, it became much faster. Same for pictures. After I made a RLE encoding for the menu items, it became exponentially faster. Also the screen had relative window addressing, that give us a huge boost.So the library is a good start with lots of options, but for decent performance you need to optimize it.

author: Tectu
author_rank: Newbie
timestamp: October 30, 2013, 02:19:33 pm
content: Quote from: legacy on October 10, 2013, 07:16:07 pmThe STM32 version of the board you're talking about is actually being fully supported by µGFX since a few days. Therefore you wouldn't have a lot of hassle getting it working.However, you'd have to use theGDISPStreamingbranch from theofficial repositoryas it's not in the current release.~ Tectu

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: October 30, 2013, 03:55:14 pm
content: Quote from: NANDBlog on October 18, 2013, 10:00:29 amI found a similar situation with the Microchip filing system stuff - it is written in a very simple and straightforward way, but not very optimised. However this does mean that it is relatively easy to optimise it for your particular requirements, as the code is fairly easy to understand, so you can get to the bits you need and tweak them with reasonable chance that you will break anything due to non-obvious 'clever' tricks being used.

author: legacy
author_rank: Super Contributor
timestamp: November 02, 2013, 04:31:00 pm
content: Quote from: Tectu on October 30, 2013, 02:19:33 pmThank you, i have also ordered the STM32 version, too =)

author: Tectu
author_rank: Newbie
timestamp: November 03, 2013, 02:14:17 am
content: Quote from: legacy on November 02, 2013, 04:31:00 pmCool, hope you'll enjoy your board!Feel free to post on the uGFX forum when you're facing any problems.~ Tectu