system
July 14, 2011, 2:04am
1
Hello
I would like to know if is possible to print 'delta' symbol on LCD...
I know that wiriting
lcd.print((char)223)
I'll obtain degrees symbol (º)...
I've found this table, I understand it... but don't have 'delta' symbol...
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1237677049
What do you suggest?
I'll appreciate your help
Thanks on advance
Best regards
Pedro Ferrer
system
July 14, 2011, 2:10am
2
It all depends on if the delta symbol is supported on you LCD model. What is your model LCD? You would need to go look through the data sheet to find out. If it is not, most LCD's support custom symbols in which the data sheet will tell you how to create them.
mem
July 14, 2011, 2:51am
3
the following sketch shows how you can create and display a custom character
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
byte delta[8] =
{
B00000,
B00000,
B00100,
B01010,
B11111,
B00000,
B00000,
B00000
};
void setup() {
lcd.createChar(0, delta);
lcd.begin(16, 2);
lcd.write(0); // display the custom character
}
void loop() {
}
You can modify the bits in the delta array to change the appearance.
1 turns on the pixel, 0 turns it off.