How to Draw an up arrow on U8glib?

Hi.. Does anybody could help me draw an up arrow using binary?

the sample code(a castle) is this pattern:

const uint8_t rook_bitmap PROGMEM = {
0x00, // 00000000
0x55, // 01010101
0x7f, // 01111111
0x3e, // 00111110
0x3e, // 00111110
0x3e, // 00111110
0x3e, // 00111110
0x7f // 01111111
};

I would like an up narrow. IS there a tool where I can use to get the binary codes?

thank you VERY MUCH

You can use the open source tool gimp for bitmap drawing. Save your result as XBM (which is actually c-code).
The XBM can be used by u8glib.

Reference: Google Code Archive - Long-term storage for Google Code Project Hosting.

Oliver

IS there a tool where I can use to get the binary codes?

A sheet of squared paper.

Hi. Actually I was going to do that, but I realized that there is a font called “u8g_font_cursor”

I can access almost every font but just the ones I need I don’t know how to use, because none of characters returned what I wanted.

Could you guys help me how to get the symbol I want?

Se attachment please

Cursor Down: 0x8b or "\x8b"
Cursor Up: 0x93 or "\x93"

Oliver

OH MY GOD!

Oliver.. PLEASE could you PLEASe tell me how did you get this code? WORKED..

Could you explain me?

TKS A LOT!

The code at the left side gives the code for the leftmost symbol/glyph.
0x90 is the hex code for the “open right arrow”. 144 is the decimal code, this means 144 (dec) is identical to 90 (hex).
From there you need to count to your desired symbol: Arrow up is the forth symbol. Count starts at 0, so it has 3.
0x90 + 3 = 0x93 or 144 + 3 = 147

Oliver

What a great explanation!

Thank you VERY MUCH, Oliver! UNDERSTOOD NOW!

That's one of the reason this community grow every day!

tks a lot!