UTFT_GHL now shipping from CTE!!

Hi Graham,

No sweat, I could see that you had been working hard for the past several days to get over the hump on mega/due differences. Yep, that's my shield (clone of CTE) except I don't have an IC1 with a red wire connecting to the bus -- just the traces to put one there. Did you add it?

Also, how did you snag the shield for free?

Jim

Hi Jim,

You know it would be so much better if your on-line status was active.....

I bought it from here :- http://www.ebay.com/itm/221941982770?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

and as you can see it looks like a REAL CTE shield....... so when it arrived all covered in sainshit crap, I raised an issue supplying photos of what I received compared to photos of what was advertised, I got a full refund and kept the item :wink: :D.

Yes I added the ic's (there is a pair of them if you look closely), the bottom one used the pcb track for CS, and the red wire is the top one's CS. Yes I know there is no CS pull up............ and I understand why there should be!! Hence the pinMode OUTPUT and digitalWrite HIGH commands that suddenly appeared!! :P. Since I have 3 displays, none of which have SPI flash on board, but they will all use the same shield, I figured why bother adding 3 chips to 3 TFT's when I can add 1(2) chip(s) to 1 shield? My flash IC's are both 25Q128's, I believe yours is only 25Q64? I have 4 times the capacity :wink: :P! I did the same trick to both the Due and Mega shields, so I currently have CTE_Font IC and GHL_Font IC on each shield, quick change of CS pin and I have access to both Font IC formats.... Comes in handy since no delay messing about uploading/verifying all the time....

Regards,

Graham

Just a quick update, I have just written my first Windows application!! :smiley:

And it works.... always a bonus! :wink: :stuck_out_tongue:

Regards,

Graham

Cool! Since you are probably just image prepping without any special calls, I suggest using Wineskin as a wrapper to eventually provide a version that runs on Mac OS X (instead of native rewrite).

I used Wineskin to wrap Henning's original image prep that was/is Windows-based. Saves me the trouble of firing up VirtualBox.

Hi Jim,

Since I don't have access to either a Mac or an emulator, I suspect you are probably on your own with that one.

Can you see any mileage in creating a version of Load_image() without x/y coordinates, which will just draw whatever size image centred in both axis'.

Regards,

Graham

So, a "2D Center" where the image/text is centered both left/right and up/down as compared to just normal left/right centering?

A nice timesaver for the developer but will probably add a little to pre-display time as you calculate coordinates for a given image size and display size.

So, yes, I think if done efficiently, there is value as it allows a given image/font flow (like game instructions/opening logo) to look the same on different size displays without the developer having to specifically code to a given display size.

Related topic -- what about GHL rotation of images/text? Henning has his separate library that does it but since your GHL font IC format will be different, it won't work with GHL fonts...right?

And here is one just to show it doing something ;).

Regards,

Graham

jnshadow:
Related topic -- what about GHL rotation of images/text? Henning has his separate library that does it but since your GHL font IC format will be different, it won't work with GHL fonts...right?

Text rotation already taken care of.

Hadn't thought about image rotation.....

Regards,

Graham

Jim, you around?

G

yep, big snow on the east coast...

I heard on the news Washington is on its knees... Worst storm in 100 years.... Hope you are safe...

I am putting together a package, I would like to hear positive only comments :wink: :stuck_out_tongue:

How long you be around? It might take me a bit....

G

About another hour -- but will be able to test tomorrow in between shoveling ;D

OK, check tomorrow, I want to make sure I have covered everything.

Oh, by the way, it also said on the news lots of people die while shovelling snow......... basically because it is hard physical exercise and people in America don't do much hard physical exercise.... let your kids or wife do it :wink: :stuck_out_tongue:

Regards,

G

Ha! No desire to kill the wife right now ;D

Here you go, usual password.

Any problems, you know where I am.

G

LatestEfforts.zip (1.12 MB)

OOps, you need UTFT_GHL_Demo_Fonts which is currently in Examples>UTFT_GHL>Arm....

G

Also, 23_01_16_UTFT_GHL.7z under Arduino folder won't expand.

Hi Graham,

What initial conditions is the Image Converter expecting? I installed the VisualC++ add-on and loaded Image Converter -- after I select "Add to Font IC Image" and select an image file, I get a "not responding" message -- image does not load. Is it looking for a local .bin file to count/determine space? If so, where (folder) should that .bin be? Or, is it looking for Mega/Shield/Display/Font IC on a USB port?

Jim

Hi Jim,

It is looking for MEGAGHL.bin which is the resulting file after using CTE_to_GHL_Converter. The file can be anywhere you like, hence the browser. Should you wish to keep copies, named for example MEGAGHL-unaltered.bin that's fine too.

The sequence of events should be :-

Select display size from drop-down box.
Click File>Open, browse for your image. Click OK
Should display in the window.
If too big, click Resize in top right corner. Restore just reverts to non-resized.
Once happy with picture, click add to font ic, browse for font ic image file, click OK.

(You can change display size once the image is loaded, and resize to that display if you wish)..

Bear with me, I am making more changes to the library and adding example sketches.....

Regards,

Graham