Show Posts
Pages: 1 2 [3] 4 5 ... 7
31  Products / Arduino Due / Re: Screen capture from CTE display buffer? on: November 23, 2013, 06:02:37 pm
@gary,

I would also like to hear the outcome of this question!

I Don't currently have a CTE display yet, funds being one issue, but not the biggest deciding factor. Have you seen the new CTE display with frame buffer? Sufficient to pre-draw 8 screens in buffer memory for almost 'instant' screen draw!

http://www.ebay.co.uk/itm/5-5-0-inch-TFT-LCD-module-CPLD-SDRAM-800x480-arduino-DUE-MEGA2560-4-3-SSD1963-/121186430206?pt=LH_DefaultDomain_0&hash=item1c37462cfe

Now if Henning decides to support this, I would suspect 'proper' screen captures would be possible with this thing, and I would like one for the 'pre-draw' capability...

However, what I actually came here to ask you was prompted by something I am trying to do with DUEGUI. Since you have various/several CTE displays, I wondered if you would be so kind as to supply me with the FONT IC font sizes, such as BVS_34, BVS_28. I understand the suffix to be pixel height, but what about width? Any help you could offer would be much appreciated!

Thanks and regards,

Graham
32  Products / Arduino Due / Re: Due GUI (Graphical user interface) - [now community project] on: November 21, 2013, 10:50:47 am

Btw, I noticed that in last post I failed to mention how to instantiate the DUEGUI object, for others to see:

Code:
#include <UTFT.h>
#include <UTouch.h>
#include <DUEGUI.h>    

UTFT myutft(HX8352A,22,23,31,33);                  
UTouch touch(25,26,27,29,30);
DUEGUI DueGUI(&myutft, &touch);

Thank you Darren for your support. Time is a precious thing, and I can relate to having to many projects and to little time. smiley

Thanks,
Edward

Hmm, what shield are you using with your display? That is not a combination of pins I have seen before....

My tuppence for what it is worth, I think the coldtears DUE shield was probably the first to come out, and naturally mates well with the CTE displays so far favoured by this project until now. As such I think it is worth mentioning the initialisation code for that situation.

Code:
UTFT       myGLCD(ITDB32S,25,26,27,28);
UTouch  myTouch(6,5,32,3,2);
DUEGUI  DueGUI( &myGLCD , &myTouch);

@Edward
,
Quote
The DUEGUI UTouch->getX and getY have to be fudged. I noticed that on my display UTouch doesnt work quite right. So the getX and getY functions take the absolute values and corrects for X and Y.

Is this also the case with the genuine Henning library examples? Also what about the calibration routine? I was just thinking if possible it would be better to cure the cause, not the symptom. Since the underlying aim is now to produce a hardware independent DUEGUI, I just wonder if this fix could potentially cause problems as yet unknown on different hardware?

Was just wondering where the error may have cropped up.

I am still tinkering and going through the changes you have made, I also have yet to finish my test sketch which will essentially just be a modified version of Darren's original demo.

HOWEVER...............This is where I got distracted and went off at a tangent...... I don't like the single 16x16 font option, I was thinking it would be nice to assimilate a variety of fonts which would be a close approximation to the CTE Font ic fonts. The first problem with that idea is 34 point is not divisible by 8... similarly, neither is 28 which are the two principle font sizes in DUEGUI so far that I have encountered.

I was also thinking this is specifically to you Edward, is there anything in particular you want me to try/test/do for you, as I suspect I am likely to go off on several tangents with this thing..... smiley-roll

Regards,

Graham
33  Products / Arduino Due / Re: Due GUI (Graphical user interface) - [now community project] on: November 20, 2013, 06:41:44 pm
I've just changed the thread title too......

Let me know if it needs changing again to reflect versioning etc.

Its nice to see you are still around, and if you feel inclined to stay involved that would be good! smiley-grin

mmmm  rover of any description land or otherwise, they never were great in the wet!!  smiley-lol

G
34  Products / Arduino Due / Re: Due GUI (Graphical user interface) - [now version 0.13] on: November 20, 2013, 06:19:32 pm
Hi Darren,

Well thankyou for all your efforts with this project that gave us the start point.....

It would be nice to see your face around here again at some time in the future should you be able to find the time.... smiley-grin

Regards,

Graham

35  Products / Arduino Due / Re: Due GUI (Graphical user interface) - [now version 0.13] on: November 20, 2013, 04:46:55 pm
Hi ediaz,

I have not fell off the edge of the earth, I am playing, evaluating, and generally messing about with your good work, will get back to you when I have something worthwhile to report.

I think congrats are in order though, well done.

G
36  Products / Arduino Due / Re: Due GUI (Graphical user interface) - [now version 0.13] on: November 14, 2013, 07:05:04 pm
@edward,

Did you have any thoughts on extracting CTE from non-CTE text drawing routines?

I am thinking least possible modification to Henning's genuine working functional libraries..... Best way to implement this?

I suspect we need to attack the text print routines with an external variable of some description??

Better still, buy a CTE display and f**k it...  smiley-razz But that defeats the object of implementing DUEGUI on ANY display....  smiley-roll-blue

Out of curiosity............ what displays have you got? Personally I only have an Sd1289 3.2"..... Struggling to acquire a 5" CTE at the moment, furthermore, I REALLY like the look of the NEW 5" CTE with some new-fangled frame buffer memory, that Henning does not currently appear to support smiley-sad

Choices......choices..... ?

Where to go from here?

Anybody else got any ideas?

Regards,

Graham
37  Products / Arduino Due / Re: Due GUI (Graphical user interface) - [now version 0.13] on: November 11, 2013, 12:48:56 pm
@Edward,

Sorry, computer failure stopped play, back online today.

Give me a day or 2 to catch up on your messages and progress, and I will be able to get a bit more involved I hope.

Cheers,

G
38  Products / Arduino Due / Re: Due GUI (Graphical user interface) - [now version 0.13] on: October 31, 2013, 09:13:01 am
mmm so I figured out why I have no text....... DUEGUI ASSUMES cold tears display AND font ic...... Not very useful for users like myself that don't have one of those....

So why not go the 'whole hog' and disable non CTE-displays?

So many contradictions in this project.....

I would like to see full compatibility with all functions able to work on all sizes of display with or without CTE font ic, who's with me?

I reiterate, this could be an awesome project with huge benefits to anyone with any tft/shield if done properly..... We are so far away from 'done properly' at this point.....  smiley-sad

Regards,

G
39  Products / Arduino Due / Re: Due GUI (Graphical user interface) - [now version 0.13] on: October 30, 2013, 12:11:43 pm
Could someone point me in the right direction to where I might get hold of the CTE modified libraries?

I concur with ediaz that it would be better if DUEGUI inherited from Henning's original libraries as they seem to work flawlessly across all hardware permutations, but for curiosity I would also like to see 'WHAT' modifications CTE made to the original libraries, hopefully to gain a little more insight to which would be the best solution to get DUEGUI functioning on displays other than the 5".

I have had minor success getting 'something' to appear on screen using DUEGUI as is, but the result is far from successful with a complete absence of any text, and the touch calibration is wildly adrift for my 3.2" display.

I appreciate the efforts cowasaki has made to this project, and I guess to an extent we all make sketches that work on our own hardware setup, but it seems a crying shame to have strayed so far away from solid reliable UTFT and UTouch. I would be willing to collaborate with my small to medium abilities to try to restore DUEGUI to sit on top of Henning's original libraries if anyone else would be willing / interested to persue this?

 It would be good if the creator of this project would chime in but regardless, I can see the potential, I would personally be able to use it, but it needs more work to work on a broader range of hardware and I am not ashamed to admit that I dont think my abilities are up to the task by myself.  smiley-cry

Regards,

Graham
40  Products / Arduino Due / Re: Due GUI (Graphical user interface) - [now version 0.13] on: October 19, 2013, 05:27:46 am
Hey everyone,

Has anybody written any sketches that work on a 320x240 display?

The demo works, and stuff happens on screen, but obviously it is not correct because of the smaller screen size.

I like the look of what is trying to be achieved with this library though very much, well done to cowasaki!!

Regards,

Graham

41  Community / Website and Forum / Re: Problem loading page on: October 10, 2013, 05:47:01 pm
My tuppence worth,

Us old poor XP users with Internet Explorer 8......... No longer see attachments

I have posts which I included screen shots, that showed fine before the site 'upgrade'.

I like the improved reference and learning sections of the site, but the forum is not better.

Also I have seen several times.   If you can see this page you have successfully configured NGIX    or something like that.....

Graham
42  Using Arduino / Programming Questions / Re: UTFT doesnt name a type on: October 06, 2013, 03:02:01 pm
@Daryl,

It is great you want to help, and having watched your video it seems apparent you fixed the UTFT problem by accident rather than any real understanding of the library system. If you did understand the library system your touch library would be working fine too!!

Ok, try this.....

Locate your sketch folder, I can only comment on XP as I am still in the dark (reliable) ages, but it should be in
My Documents\Arduino.

To complicate things further I re-located my sketch library to flash drive.....My sketches AND libraries can now travel!! smiley-winksmiley-razz

So once you located your 'Arduino' folder.......inside is a 'libraries' folder......... The clue is in the name??? Place UTFT, UTFT_Buttons, UTouch and UTFT_tinyFAT  in the libraries folder.

ALL your library files should be placed here!!

Once you have copied your new libraries, you MUST restart the arduino software......... I am mystified why you talk about signing in as a new user and uninstalling and re-installing the software?? Maybe you have too much time on your hands?

Case solved..... Ignore Daryls video, he waffles and rambles for about 5 minutes and the end result is less than useful.......

I especially like Daryls comment about.......i did this and I am not going to do it again, but you like click open and it does the rest??   That will be super helpful to other newbies having this problem!!! Particularly given his own admission he didn't figure out how to get touch working yet!!!???

Furthermore, done the way I have outlined, no further changes needed, you can run Arduino 1.0.5      1.5.3      1.5.4        nightly or any other version you might like..... And all sketches work fine......  

Another seemingly important fact our Daryl appears to have overlooked, is that not only does UTFT appear black when not installed correctly, I am quite sure EXAMPLES does not contain anything related to UTFT? Since the library contains the examples??

I am a big fan of Hennings suite of libraries, he has done a sterling job, and I was one of those users that had problems with a MEGA2560, but at least I did install them in the correct location before saying lots of people have had problems!!! I would just like to say finally, comments like that may put off new users from potentially the best TFT related libraries out there, which is a pity when it is so apparent the commentee knows so little.

Regards,

Fellow 'newbie' (recently upgraded smiley-razz)

Graham

PS Daryl.....Please don't make another video of comparable standard to your last one..... just follow my instructions..... smiley-winksmiley-razz
43  Using Arduino / Storage / Re: writing on SD card works but filedate is always 1.1.2000 on: October 05, 2013, 09:58:14 am
The SDfat lib works well with a small test sketch.

Now I added it into my 'real' sketch.
And I found SDfat is not compatible with library streaming.h.

I changed the name of 'endl' in streaming.h  and now everything compiles and works ok.
A new experience for a Newbie that libraries might be incompatible! smiley

Greetz to all!

SDfat has its own streaming features....    

Code:
ArduinoOutStream cout(Serial);  
cout << setw(4) << x+1 << ")" << setw(65) << place[x].DEF_NAM << setw(65) << place[x].FULL_COUNTY << endl;

for example....

Or a'real' more useful example may be :-

Code:
   if(mysats>0 && age <1000)
    {
      if(logfile.open(logname, O_WRITE | O_CREAT | O_APPEND))
      {
        distanceto=TinyGPS::distance_between(dlat, dlon, Dest_LAT, Dest_LON) / 1609.344;
        courseto=TinyGPS::course_to(dlat, dlon, Dest_LAT, Dest_LON);
        char mydate[25], buf[100];
        sprintf(mydate, "%02d:%02d:%02d,",
        hour(), minute(), second());
        logfile.clearWriteError();
        obufstream bout(buf, sizeof(buf));
        bout << mydate << setw(3) << age << ',' << setw(10) << setprecision(6) << dlat << ',' << setprecision(6) << setw(10) << dlon
          << ',' << setprecision(2) << falt << ',' << East << ',' << North << ','
          << setw(6) << setprecision(2) << courseto << ',' << setw(7) << setprecision(2) << distanceto << ',' << setw(2) << mysats << ','
          << setw(4) << myhdop <<endl;   
        SdFile::dateTimeCallback(dateTime);
        logfile.write(buf, sizeof(buf));
        cout << buf ;
        logfile.close();
      }
    }  

hope this helps?

Regards,

Graham
44  Using Arduino / Project Guidance / Re: GPS navigation and arduino? on: October 01, 2013, 06:55:27 am
Since my last post here, my project has progressed quite nicely smiley

Implemented functions :-
Fully autonomous map drawing and current location plotting.
Once per second logging of time, location, number of satellites and hdop.
Method of importing gpx route files (Maximum of 50). gpx files can be created here http://ridewithgps.com/
User selection of route file which is then overlaid onto the map if you and the route are roughly in the same location. 

Partially implemented functions :-
Gazateer place name index lookup based on OS 50k Gazateer (260,000 entries). (Currently uses serial monitor to enter place name and display results)

Future ideas :-
Create utft_drawbitmap function capable of scaling. Currently the screen display shows 0.5x0.5 Km map, which if you have no idea where you are, does not give large enough area to recognise nearest town etc, so scale factor 2= 1Km sqaure, 4= 2Km square, I think any more than that the picture would probably look horrible.....

I am particularly proud of my efforts so far, when you consider the predominant reply to the question of maps and arduino seems to be, it cant be done!!  smiley-cool smiley-grin

If anyone is interested in discussing this further and maybe help, or have other suggestions of functions to add, I would love to hear from you!!

Regards,

Graham
45  Using Arduino / Programming Questions / Re: Call for comments: Programming traps and tips on: September 28, 2013, 05:52:06 pm
Thanks for the support, ghlawrence2000. smiley

I believe this forum is going offline this Wednesday (2nd October 2013) for 12 hours. Might be a good time to bookmark that page. smiley


Noted, Done smiley-wink smiley-razz

Thanks
Pages: 1 2 [3] 4 5 ... 7