Go Down

Topic: LCD lib reference | add "B00000" in createChar() example (Read 541 times) previous topic - next topic

Clemens

In the reference section for createChar() / part of the standard LCD lib
http://arduino.cc/en/Reference/LiquidCrystalCreateChar

I found this array initialization:

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


Note that in the 8 element array the last value is omitted, because it is 0. It could be helpful, especially for persons who new with Arduino, to specify the full array. So it is better usable for persons who wonder why in a 8 element array are only 7 elements.

Go Up