XDK graphics lib (My first GIT tryout)

XCore Project reviews, ideas, videos and proposals.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

XDK graphics lib (My first GIT tryout)

Post by lilltroll »

Version: 0.06
Status: Under development
License: BSD
Download: /files/project_builds/XDK_graphics_module v0.06.zip

As a base for other projects the LCD is a great resource on the XDK.

XMOS uses the LCD in several projects, but hasn't released a graphic lib to construct graphical objects as rectangles, bars, ellipses and text with others.
I have been written things for a while now, and hope to be able to package it to a module uploaded to the GIT.
Please be aware of that this is my first time writing a module, and using GIT. Everything might be very confusing in the beginning.
Thanks to:

All people that have done some piece of graphics earlier and shared the code, that made me start going.

I haven't copy & paste any other non-XMOS code - but I might have been reading your code get some understanding of how things works.
The latest module can be directly downloaded here, the External Project Website: takes you to GIT.


Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

Be patient!

Still working with everything from RSA keys the GIT shell and the GIT-GUI
Do not expect anything as long the version == 0
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

If someone with a XDK has some time to kill.
Try and download the module and app and tell me if you at least could run it, even better, recompile it.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

I will try to remember to always add the binary XB files into the project. It simple to have it on your XDK-SD card the day you want to test a module without compiling and stuff like that. Just Copy to the SD.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

Renamed the GIT resp. so they do not include the version number in the name. Try to tag them instead
Not 100% Sure if that was the correct move yet.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

I will try to give you it both ways. I just have to discuss a little with the GURUs.
The source-code (ASCII) on GIT, but what about the .zip projects that can be imported.
Like the last stable release.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

Fixed a major bug with the frame buffer that made incorrect plots.

In release 0.05 several objects including text are shown at the same time. Some of them are stored in the frame-buffer and some are rendered in real-time from the line-buffer. All objects that are rendered by the linebuffer have state that changes each frame.
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

Starts to look like a LSD simulator
Added several function, fixed some bugs. Ellipse is not working.

Hopefully the makefile is correct now. v0.05 didn't build
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

OK, next thing is to make it compatible with and the XLOG module, so we can add the module to existing code and see the output on the LCD instead of the console (which is very slow)
Probably not the most confused programmer anymore on the XCORE forum.
User avatar
Vaati
Active Member
Posts: 39
Joined: Sat Dec 25, 2010 7:09 pm

Post by Vaati »

In the link, you need a ":" after the "https" so it actually works... :D