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);
lcd.write(11110010);
}
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.