user68716: I am experimenting the write((byte)num) function, and I stumble upon a pre-made custom character. Usually it's on above ((byte)200) or and below ((byte)10000). If anyone else know this, where could I find the list for a specific character?

user31668: Hi Welcome to Arduino StackExchange
You can build your own LCD characters if you spend some time with the datasheet and user manuals available
Arduino has a dedicated function here
#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

byte smiley[8] = {
  B00000,
  B10001,
  B00000,
  B00000,
  B10001,
  B01110,
  B00000,
};

void setup() {
  lcd.createChar(0, smiley);
  lcd.begin(16, 2);  
  lcd.write(byte(0));
}

void loop() {}

here is one example:  from our tool here

From the datasheet:

here is one example where a Heart symbol is created using the built-in Arduino LCD library:
You can play here at our LCD1602 simulator to get a hang of it.  Please leave a message or comment if you have any questions :)


68716: <p>I am experimenting the <code>write((byte)num)</code> function, and I stumble upon a pre-made custom character. Usually it's on above <code>((byte)200)</code> or and below <code>((byte)10000)</code>. If anyone else know this, where could I find the list for a specific character?</p>
 31668: <p>Hi Welcome to Arduino StackExchange</p>
<p>You can build your own LCD characters if you spend some time with the datasheet and user manuals available</p>
<p>Arduino has a dedicated function <strong><a href="https://www.arduino.cc/en/Reference/LiquidCrystalCreateChar" rel="nofollow noreferrer">here</a></strong></p>
<pre><code>#include &lt;LiquidCrystal.h&gt;

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

byte smiley[8] = {
  B00000,
  B10001,
  B00000,
  B00000,
  B10001,
  B01110,
  B00000,
};

void setup() {
  lcd.createChar(0, smiley);
  lcd.begin(16, 2);  
  lcd.write(byte(0));
}

void loop() {}
</code></pre>
<p>here is one <strong>example</strong>:  from our tool <a href="https://goodarduinocode.com/projects/electronic-safe" rel="nofollow noreferrer">here</a></p>
<p><a href="https://i.stack.imgur.com/fr0nB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fr0nB.png" alt="enter image description here" /></a></p>
<p>From the <strong><a href="https://www.sparkfun.com/datasheets/LCD/HD44780.pdf" rel="nofollow noreferrer">datasheet</a></strong>:<br />
<a href="https://i.stack.imgur.com/t2G5f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t2G5f.png" alt="enter image description here" /></a></p>
<p>here is one example where a Heart symbol is created using the built-in Arduino LCD library:</p>
<p>You can play <a href="https://wokwi.com/playground/lcd1602-i2c" rel="nofollow noreferrer">here</a> at our LCD1602 simulator to get a hang of it.  Please leave a message or comment if you have any questions :)
<a href="https://i.stack.imgur.com/zWZFQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zWZFQ.png" alt="enter image description here" /></a></p>
