Jump to content
ELFORUM - Forumul electronistilor

ajutati-ma cu Custom Characters


soulraven

Recommended Posts

salut, ma puteti ajuta cu cateva sfaturi si poate exemple de cod pentru a definii Custom Characters ? am nevoie de cate caractere personalizate pentru un afisaj LCD HD44780.

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • soulraven

    2

  • fratello

    2

  • ramsesrr

    1

Popular Days

Top Posters In This Topic

/*** Define user-defined character dot patterns*/const unsigned char LCD_CHAR_BAR1[] = { 0x10, // ---10000 0x10, // ---10000 0x10, // ---10000 0x10, // ---10000 0x10, // ---10000 0x10, // ---10000 0x10, // ---10000 0x10 // ---10000};const unsigned char LCD_CHAR_BAR2[] = { 0x18, // ---11000 0x18, // ---11000 0x18, // ---11000 0x18, // ---11000 0x18, // ---11000 0x18, // ---11000 0x18, // ---11000 0x18 // ---11000};const unsigned char LCD_CHAR_BAR3[] = { 0x1c, // ---11100 0x1c, // ---11100 0x1c, // ---11100 0x1c, // ---11100 0x1c, // ---11100 0x1c, // ---11100 0x1c, // ---11100 0x1c // ---11100};const unsigned char LCD_CHAR_BAR4[] = { 0x1e, // ---11110 0x1e, // ---11110 0x1e, // ---11110 0x1e, // ---11110 0x1e, // ---11110 0x1e, // ---11110 0x1e, // ---11110 0x1e // ---11110};const unsigned char LCD_CHAR_BAR5[] = { 0x1f, // ---11111 0x1f, // ---11111 0x1f, // ---11111 0x1f, // ---11111 0x1f, // ---11111 0x1f, // ---11111 0x1f, // ---11111 0x1f // ---11111};const unsigned char LCD_CHAR_UP_ARROW[] = { 0x1f, // ---11111 0x1b, // ---11011 0x11, // ---10001 0x0a, // ---01010 0x1b, // ---11011 0x1b, // ---11011 0x1b, // ---11011 0x1f // ---11111};const unsigned char LCD_CHAR_DOWN_ARROW[] = { 0x1f, // ---11111 0x1b, // ---11011 0x1b, // ---11011 0x1b, // ---11011 0x0a, // ---01010 0x11, // ---10001 0x1b, // ---11011 0x1f // ---11111};const unsigned char LCD_CHAR_TRADEMARK_T[] = { 0x1f, // ---11111 0x04, // ---00100 0x04, // ---00100 0x04, // ---00100 0x00, // ---00000 0x00, // ---00000 0x00, // ---00000 0x00 // ---00000};const unsigned char LCD_CHAR_TRADEMARK_M[] = { 0x11, // ---10001 0x1b, // ---11011 0x15, // ---10101 0x11, // ---10001 0x00, // ---00000 0x00, // ---00000 0x00, // ---00000 0x00 // ---00000};

Link to comment

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



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines