Getting theta on lcd

Hi, I was wondering how I could get the Greek letter theta --> θ on my 16*2 LCD display with an HD44780 Controller. I know that you need to use ASCII table to find the right code to print.
So from looking at this table, I think the code is 11110010 but if I give that in I get a z. If anyone has an idea what I am doing wrong, i would love to hear.

// include the library code:
#include <LiquidCrystal.h>

// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
LiquidCrystal lcd(4, 5, 6, 7, 8, 9);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);

void loop() {
  lcd.setCursor(0, 0);


Go on. 11110010 is a very big decimal number.

  lcd.write((char)0b11110010);    //use binary constant
  lcd.write("\xF2");      //escape sequence


Also - either move that code to setup() or add a significant delay in loop().


And you do need to check your display controller has this character in its ROM.
You'll need the datasheet of your display controller for this.
Not all controllers have the same character ROM, there may be versions for instance for Japanese and probably Cyrillic script.
A datasheet would tell you all about that, and should show the ASCII tables available.

I have only ever seen the Japanese ROM.

I am sure that other ROMs exist. But not in the Ebay price bracket.

The OP had already worked out how to find the Theta in the ROM code: A00

It was just a question of using the overloaded lcd.write() method correctly.


p.s. It would be interesting to hear whether Bill Perry has seen other Font ROMs.
Or whether any Russian members have seen Cyrillic.

Ok now it works, thanks for your help!