Jump to content

[C/C++] LCD - 20x4 - Eigene Sonderzeichen - '\0' nicht wird nicht interpretiert


Recommended Posts

Posted

Hallo,

 

ich spiele gerade mit eigenen Sonderzeichen für das LCD herum.

 

Dabei fällt mir auf, dass das Sonderzeichen '\0' nicht interpretiert wird. Ich erzeuge das Sonderzeichen wie folgt. Jedoch wird es nicht angezeigt. Die anderen Zeichen funktionieren.

 

        char cornerUpLeft[] = {      0b00011111,
                                     0b00010000,
                                     0b00010000,
                                     0b00010000,
                                     0b00010000,
                                     0b00010000,
                                     0b00010000,
                                     0b00010000 };

        lcd_20x4_set_custom_character(&lcd, 0, cornerUpLeft);

        lcd_20x4_write_line(&lcd, 0, 0, "\0");

 

Kann mir jemand sagen, wie ich auf dieses Zeichen zugreifen kann?

 

 

Danke und Gruß

 

Andreas

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...