Sign in to follow this  
Followers 0
Mr modnaR

LCD emulator??

20 posts in this topic

Hi all, does anyone know how TK makes 'screenshots' of LCDs for display on this website? eg:

s3_1.gif

or

s3_3.gif

thanks

Share this post


Link to post
Share on other sites

Yes we do,

but at least I´m too tired to "search the forum" for the answer ;D

Moebius

Share this post


Link to post
Share on other sites

hehe..... ;D

Had to be careful on this thread, "Read the noob 4 dummies thread" as an answer to what seems like a very unrelated question might seem a bit hostile when it's really not... :)

In hindsight I think we missed a quick opportunity to poke fun at you....  ;D

Best

Smash

Share this post


Link to post
Share on other sites

any other suggestions which don't require a degree in gobbledegook are welcome.  ;D

all i know is perl is some kind of programming language, and these appear to print out the lettering to a website. quite how this happen is magic to me, or possibly gremlins. ahh well, i'll have to fiddle with photoshop i guess. cheers

Share this post


Link to post
Share on other sites

hehe..... ;D

Had to be careful on this thread, "Read the noob 4 dummies thread" as an answer to what seems like a very unrelated question might seem a bit hostile when it's really not... :)

In hindsight I think we missed a quick opportunity to poke fun at you....  ;D

Best

Smash

lol, yeah it was the last place i'd thought of looking. stupidity knows no boundaries i guess.

*scuffles back to lair, humbled*  ;D

Share this post


Link to post
Share on other sites

There's windows TTF and PS fonts of the HD44780 standard cgrom charset :)

Grab the attachment from this post and rename to .zip and go nuts.

Share this post


Link to post
Share on other sites

stryd, that's a great help man, cheers.

Share this post


Link to post
Share on other sites

hmmm, strange, it's coming up 'This file is corrupted'. ahh well, i'll have a look round. cheers

Share this post


Link to post
Share on other sites
I am making these fonts freely available. You have permission to use and distribute all of these fonts. So post them on your own website if you want, give them to friends, share the wealth

http://www.pic101.com/mcgahee/

What a nice guy he is! :)

Share this post


Link to post
Share on other sites

all i know is perl is some kind of programming language, and these appear to print out the lettering to a website. quite how this happen is magic to me

it's not that complicated if you know how to call them.

I don't know if that's also valid for DOS, but in a bash terminal you must type

[tt]./scriptname.pl[/tt] to run it.

or you may try [tt]perl scriptname[/tt]; of course the filepaths have to match.

You may peek into the file itself to lern about parameters you have to pass, but what I saw from these scripts, you may adapt them simply for you needs.

Cheers,

Michael

Share this post


Link to post
Share on other sites
http://www.pic101.com/mcgahee/

What a nice guy he is! :)

once again stryd, thanks!

it's not that complicated if you know how to call them.

I don't know if that's also valid for DOS, but in a bash terminal you must type

./scriptname.pl to run it.

or you may try perl scriptname; of course the filepaths have to match.

You may peek into the file itself to lern about parameters you have to pass, but what I saw from these scripts, you may adapt them simply for you needs.

Cheers,

Michael

thanks michael, i'll look into how it all works.

Share this post


Link to post
Share on other sites

I just tried:

perl vx and it doesn´t exist! I feel stupid, I´ve used perl before.. even perl vx.pl didn´t work! Is it the path problem?

Moebius

Share this post


Link to post
Share on other sites
perl vx and it doesn´t exist! Is it the path problem?

yes, you got to change the current path before calling this; or submit the whole path;

so in bash it would be either:

[tt]

cd /path/to/perl/script/

perl myscript.pl[/tt]            or use the "shortcut":      [tt]./myscript.pl [/tt]

(cd is for change directory; If I remember right it's the same with DOS)

or [tt]

perl /path/to/perl/script/myscript.pl

[/tt]

If the script provides some output (which should normally be the case; eg. infos on expected parameters), then you should see something...

Cheers,

Michael

Share this post


Link to post
Share on other sites

Hi

I've just tried one of the script on windows

It can generate all of the screens in .xpm, if the gif convertion is disabled

my $convert_gif = 0;
if I understand correctly, the script needs a conversion program to convert the .xpm to gif:
      system("convert ${output_file}.xpm ${output_file}.gif") && die ("convert failed!\n");
      system("rm ${output_file}.xpm");

*edit: you can find this program here:

you can find this program here:

http://www.imagemagick.org/script/convert.php

Share this post


Link to post
Share on other sites

I`ve created patterns for 2x16, 2x20 and 2x40 LCD in Corel Draw and Adobe Illustrator. You don`t have to mess with perl. I hope it will help someone. Before opening the file install the font from the .rar

771_LCD-text-pattern_gifbffd0ddb810f0d88

LCD text.rar

Share this post


Link to post
Share on other sites

Sweet! Thanks man!

PS I am going to reply soon ;)

Edit: Search keywords...  TK LCD font emulation screenshot screen shot picture image jpg manual document perl script TTF truetype HD44780 CLCD

Share this post


Link to post
Share on other sites

cheers Sasha and mess, great help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0