User manual
figure sequence marks that this is a sequence of numbers in binary
annotation.
The upper and lower 4 bits for the Omega character are made up
as follows:
001 upper = 1111
002 lower = 0100
Try outputting other characters as well, checking the , character
table.
Upload
The experiment requires the LCD basic wiring that you set up in
the function test.
Example code: CHARACTER SET
001 // Integrating LCD-Library
002 #include <LiquidCrystal.h>
003
004 // Specifying LCD pins
005 // RS, E, D4, D5, D6, D7
006 LiquidCrystal lcd(11, 10, 2, 3, 4, 5);
007
008 void setup()
009 {
010 // LED-Backlighting
011 analogWrite(9, 150);
012
013 // LCD-output
014 lcd.begin(16, 2);
015 lcd.setCursor(0, 0);
016 lcd.write(B11110100);
017
018 }
019
020 void loop()
021 {
022 // Nothing to do...
023 }
5.9 | Pin Assignment of the Common LCDs
Most displays without lighting have a pin assignment as that in
the following table. If you use a different LCD than the one
included in the learning package at a later time, we recommend