Special Character on 16x2 LCD-Display

Hello together

Im new to the Arduino Community and Programming in general.
I want to write some special characters on an LCD-Display. I already wrote the Programm below, it works to simply write a text on the display.

#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);

void setup() {
;lcd.begin(15,2)
;lcd.clear()
;}

void loop() {
;lcd.clear()
;lcd.setCursor(1,1)
;lcd.print("insert text here")
;delay(4000)
;lcd.clear()
;}

Now Id like to write something with the following scheme:

B00000
B00000
B00000
B00000
B00000
B00000
B00000
B00000

what do i have to insert instead of "insert text here" in the programm?

Please help me :slight_smile:

The liquid crystal library has an example called CustomCharacter that shows how to create and use custom characters. Note that you can have only 8 custom characters. What is with the semicolons before the code lines? Not right at all. should be like:

lcd.write(2);

semicolons end the line not start it.

Well thanks, you really helped me. About de semicolons: Sorry didnt know it :blush:

Laura_95:
About de semicolons: Sorry didnt know it

Have you not looked at any examples of Arduino code? I would strongly suggest you have a look through several examples and maybe even try a few of the simple ones before you try to go any further. Otherwise this may become intensly frustrating. The compiler is very picky about how you write things.

Laura_95:
Now Id like to write something with the following scheme:

B00000
B00000
B00000
B00000
B00000
B00000
B00000
B00000

what do i have to insert instead of "insert text here" in the programm?

That's no "special" character, the coding is for a "space" character and you can simply send a space with:

Serial.print(' ');

If you want to create data for real "special" characters, perhaps try:
https://omerk.github.io/lcdchargen/
(At the bottom of that page there is also some demonstration code.)