hi all i am useing flowcode 6v.04
I wonder the GLCD basic print and line options are soo easy but how to draw a picture?
I understand that we can read BMP files from SD cards ( soooooo soooo long way for me) and the sample is in 5v. i can't open in 6.v
is it possible to use programs like fastlcd?
Can we use codes like
sample:
&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,
&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,
&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,
.....
So many programs can convert bmp to these codes but i really don't know to use this codes.
And i want to report a bug if i update the program some of the components are eraseing in my program like lcd KS0108
Please someone help abouth glcd
easy way to GLCD? Solved ty to helpers.
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: easy way to GLCD?
Hello,
I have ported the v5 example over to v6 and this will soon be available with the v6 examples. Here is a copy.
The codes you mentioned "&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00," are simply byte values in hexadecimal format. The example basically does the same thing and parses the file to get the byte values for each pixel colour.
Note that the v6 FAT component simulation will not work with the scan for files function so the photo gallery example from the v5 article will not currently work in simulation so I have not yet provided this as a v6 example.
I have ported the v5 example over to v6 and this will soon be available with the v6 examples. Here is a copy.
The codes you mentioned "&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00,&h00," are simply byte values in hexadecimal format. The example basically does the same thing and parses the file to get the byte values for each pixel colour.
Note that the v6 FAT component simulation will not work with the scan for files function so the photo gallery example from the v5 article will not currently work in simulation so I have not yet provided this as a v6 example.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: easy way to GLCD?
Hi,
A simple example program bmp 24x16 pixel processing.
Bmp file to extract the HxD HexEditor edited.
A simple example program bmp 24x16 pixel processing.
Bmp file to extract the HxD HexEditor edited.
- Attachments
-
- bw bitmap.jpg (211.56 KiB) Viewed 5836 times
-
- ks0108bmp_1_3_8.fcfx
- (11.29 KiB) Downloaded 283 times
-
- Posts: 54
- Joined: Mon Dec 30, 2013 2:09 am
- Has thanked: 15 times
- Been thanked: 10 times
- Contact:
Re: easy way to GLCD?
Mr. benj i tryed to open as you say did not open
i am abouth to give up try to use glcd in flowcode
if it is possible write to do list i will try to convert in to v6
for exp.
open fat
read fat
convert to word or byte
x=?
y?
i really dont know to do and i do not want to tire you.
For exp. in proton i only add the .inc of the coverted bmp (it was soooo easy) i was hopping to do in flowcode faster and easy.
My dreams gone
and Mr. stibor
Doesn't work for me
i think i have to wait for flowcode programmers will do this hard thing easy.
for exp. in component there will be a command like
fat.initialise
done!
open file "huraaay.bmp"
glcd open "huraaay.bmp" hehehehhehe NO CODE , NOT HARD THATS WHY WE ARE PAYING FOR THIS PROGRAM REMEMBER?
Now i can read .txt files from fat and write it to the lcd 2x16 but still wrestleing with glcd
i am abouth to give up try to use glcd in flowcode
if it is possible write to do list i will try to convert in to v6
for exp.
open fat
read fat
convert to word or byte
x=?
y?
i really dont know to do and i do not want to tire you.
For exp. in proton i only add the .inc of the coverted bmp (it was soooo easy) i was hopping to do in flowcode faster and easy.
My dreams gone
and Mr. stibor
Doesn't work for me
i think i have to wait for flowcode programmers will do this hard thing easy.
for exp. in component there will be a command like
fat.initialise
done!
open file "huraaay.bmp"
glcd open "huraaay.bmp" hehehehhehe NO CODE , NOT HARD THATS WHY WE ARE PAYING FOR THIS PROGRAM REMEMBER?
Now i can read .txt files from fat and write it to the lcd 2x16 but still wrestleing with glcd
-
- Posts: 54
- Joined: Mon Dec 30, 2013 2:09 am
- Has thanked: 15 times
- Been thanked: 10 times
- Contact:
Re: easy way to GLCD?
hello benj now i can open youre exemple.
it is fantastic
it is soooo long to understand :S
but i promise i will try to understand.
and onemore thing to ask
will the same codes of youre program will work for the K0108?
it is fantastic
it is soooo long to understand :S
but i promise i will try to understand.
and onemore thing to ask
will the same codes of youre program will work for the K0108?
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: easy way to GLCD?
Hi,
Byte array C code has been created, you can not simulate the Flowcode.
The "pixeldata" variable initial value is not set, it is an error message.
This is not a problem.
I attach an example, in the byte array was created in Flowcode.
Byte array C code has been created, you can not simulate the Flowcode.
The "pixeldata" variable initial value is not set, it is an error message.
This is not a problem.
I attach an example, in the byte array was created in Flowcode.
- Attachments
-
- ks0108bmp_1_3_8f.fcfx
- (13.96 KiB) Downloaded 308 times
-
- Posts: 54
- Joined: Mon Dec 30, 2013 2:09 am
- Has thanked: 15 times
- Been thanked: 10 times
- Contact:
Re: easy way to GLCD?
THANKS STiBOR THiS iS WHAT I EXACTLY LOOKING FOR.
and benj i hope in the future i will use ure code too i simulate 3 times hımmm still hard for me sorry everybody don't have the same IQ
and benj i hope in the future i will use ure code too i simulate 3 times hımmm still hard for me sorry everybody don't have the same IQ