Modifying GADC example board file.

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: Modifying GADC example board file.

Postby Tectu » Sat May 11, 2013 2:29 pm

Where's the new video, mate? :P


~ Tectu

daviddawe1982
Posts: 94
Joined: Thu Apr 11, 2013 10:35 am

Re: Modifying GADC example board file.

Postby daviddawe1982 » Sat May 11, 2013 3:14 pm

I killed my boardx2 :x :x
I really have to learn to NOT play with my prototype board while power is on
One still works but it gets really hot and there is a lot of noise on the ads now i ordered a new board and a much larger prototype board .
I have added a freq counter and enlarged the sample line
I increased the priority and moved the battery and free counter to a different thread triggered every second to increase the sample rate . I was a bit disappointed with the cycles per second i got . Only 20-30 per second i really need to speed that up

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: Modifying GADC example board file.

Postby Tectu » Sat May 11, 2013 3:21 pm

daviddawe1982 wrote:I killed my boardx2

Oh jesus, so no video the following days >.<


~ Tectu

daviddawe1982
Posts: 94
Joined: Thu Apr 11, 2013 10:35 am

Re: Modifying GADC example board file.

Postby daviddawe1982 » Sat May 11, 2013 3:31 pm

No not for a few days :(

daviddawe1982
Posts: 94
Joined: Thu Apr 11, 2013 10:35 am

Re: Modifying GADC example board file.

Postby daviddawe1982 » Mon May 13, 2013 11:58 am

hello
well i have been playing around with my timeing (all i can do at the moment) and i have worked out that my draw line is my slowest part of my sampling what is the fastest method of displaying some thing on the lcd?? eg drawline , drawbox, drawpixel etc
speed without drawlines = 1556 cycles per second
speed with only 3 drawlines operating = 294 cycles per second
speed with all drawlines operating = 20 cycles per second
would the gfx graph be faster than this?

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: Modifying GADC example board file.

Postby Tectu » Mon May 13, 2013 12:23 pm

The graph widget itself does not take responsibility for any optimization. The entire optimization takes place in the emulation code in case of the display controller doesn't support these drawings himself (like yours). However, most drivers, like the SSD1963, do provide some filling/windowing feature. The GDISP drawing routines have been implemented to take advantage of them. For example, when you draw a vertical or a horizontal line, it simply creates a windows of one pixel by the length of your line and fills it.
Every pixel wise operation seems to be slower on the SSD1963 than on the other display controllers since the controller does not seem to provide any direct pixel set function. Instead you have to create a window which is one by one pixel in size.

I don't know how performance active the SSD1963 driver has been written since it has been contributed and I didn't use it myself (yet).

And to your question: The quickest way to display anything is blitting a bitmap.


~ Tectu

daviddawe1982
Posts: 94
Joined: Thu Apr 11, 2013 10:35 am

Re: Modifying GADC example board file.

Postby daviddawe1982 » Mon May 13, 2013 1:27 pm

in your opinion what is a fast controller choice??


Return to “LCD Driver and Graphic Framework”

Who is online

Users browsing this forum: No registered users and 7 guests