Go Down

Topic: LCD lib reference | add "B00000" in createChar() example (Read 549 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy