displaying bitmaps on 16x2 lcd ?

hello guys

i was wondering if i can display bitmap array like this :

0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xEE, 0xFF, 0x7F, 0xDF, 0xFB, 0x6F, 0xFD, 0x9F, 0xEF,
0xFB, 0x7E, 0xAF, 0xDD, 0xEF, 0xE7, 0xFD, 0x77, 0xF6, 0xDB, 0xF4, 0xA2, 0xD6, 0xE8, 0xA4, 0x60,
0x48, 0x80, 0x40, 0x40, 0x80, 0x00, 0x80, 0x80, 0x00, 0x80, 0x00, 0x00, 0x01, 0x03, 0x06, 0x07,
0x0F, 0x0E, 0x1F, 0x1F, 0x3E, 0xFB, 0xFF, 0xB7, 0xFE, 0xFF, 0x77, 0xFE, 0xFF, 0xDB, 0xFF, 0xEF,
0x7D, 0xFF, 0xEF, 0x7B, 0xFF, 0xFE, 0x6F, 0xFF, 0xFE, 0xF7, 0xFF, 0xBF, 0xFF, 0xFD, 0xFF, 0xFF,

on an 16x2 lcd ,

the only think i saw online is by using :

byte image[] = 8 bit

0x7F,
0xFC,
0xFF,
0xFD,
0x7F,
0xEC,
0x80,
0xFF,

not a multidimential array , any help?

i was wondering if i can display bitmap array like this :

No.
Put those numbers in an array in program memory.

Either in a 1D or 2D array, and then transfer it to your display.

Grumpy_Mike:
No.
Put those numbers in an array in program memory.

Either in a 1D or 2D array, and then transfer it to your display.

i know i should put that array in program memory, but how i recal it to the LCD

the only function i know is :

lcd.createChar(0, byte name);

can i display this array on the lcd using this function ?! how i index the array in the function ?

You probably can't display the bitmap on that LCD.

jremington:
You probably can't display the bitmap on that LCD.

ok, can i convert the bitmap array of a graphic sympol or something to a set of 8 bit arrays that work
in the create char function ?

Try it and see if it works.

jremington:
Try it and see if it works.

iam asking is there is away to convert this

0xF1	 0xF8	 0x1E	 0xFB	 0xED	 0x7F	 0xFE	 0xF9	 0x56
0x68	 0xE0	 0xC0	 0x00	 0x00	 0x00	 0xC0	 0xC0	 0xE0
0x03	 0x5F	 0x6E	 0xFF	 0xFF	 0xED	 0xBF	 0xF6	 0xBF
0x6E	 0xFF	 0xFF	 0xEE	 0xFF	 0xFF	 0xFD	 0xFF	 0xFF
0x6F	 0xFF	 0xFF	 0xF4	 0xFF	 0xFF	 0xFF	 0xDB	 0x07
0xFF	 0xDF	 0xFF	 0xFF	 0xFF	 0xFF	 0xFE	 0xFD	 0xFB
0x0B	 0x09	 0x09	 0x61	 0xA5	 0xCA	 0xDD	 0x20	 0x00
0x00	 0x40	 0xC0	 0x00	 0x20	 0xE0	 0x60	 0xC8	 0xFF
0x96	 0xFD	 0xF7	 0xDE	 0x77	 0x7F	 0x3F	 0x76	 0xFF
0xFF	 0xFF	 0xDF	 0xFD	 0xFF	 0xF7	 0xFF	 0xDF	 0xE7
0xFF	 0xFF	 0xF6	 0xFF	 0xFF	 0xFF	 0xFF	 0xFF	 0xFF

to some thing like this (using a program or some thing ) :

0xff
.
.
.

liner array so i can divide it and use it in create char function ?!

You can define 8 custom characters, If you later redefine a character it will overwrite the previous definition upon display refresh. There is, also, no way to fill in the spaces between the lines in the display. If you want to display a bitmap, get a display capable of displaying bitmaps. Nokia 5110 (84x48 pixels) is a cheap choice for a small graphic display.

Iirc this guy already has a 5110 but doesn't know how to use it despite clear instructions.

About the best you can do is to use Tim Eckel's LCDBitmap library.
--- bill

INTP:
Iirc this guy already has a 5110 but doesn't know how to use it despite clear instructions.

why would you say something like that, i found that realy insulting to me.

i already have a nokia 5110 lcd display and i know how to use it very well

[!b]i even displayed video on it ! ,[/b] unlike what you claim

but i wanted a rather challenging project ,which is to try to display bitmaps on the 16x2 display.

1 Like

A 16 by 2 display is for text only. You can not display bit images on it.
As you have been told the programmable characters are limited to only a few patterns, so your challenge is doomed to fail.

Grumpy_Mike:
A 16 by 2 display is for text only. You can not display bit images on it.
As you have been told the programmable characters are limited to only a few patterns, so your challenge is doomed to fail.

the thing that made me thought displaying bitmaps could be possiple is that video:
video

it seems that he is displaying some sort of animated bitmaps but i relized

that he might be using the Tim Eckel library , so my challenge need some thing else :stuck_out_tongue: or
maybe impossiple .

Yes that video uses the custom characters feature of the display to show a 10 by 14 graphics display with blank lines every 5 by 7 pixels. Displaying any more than this on your display is impossible unless you use the pre defined chatpractor font.

You have been told this information but maybe you did not understand what this meant until you saw the video.