When creating this character, the code only used 7 bytes, not 8. With beginners in mind, I would recommend adding the unneeded 8th byte "B00000" to give a clear template. Without all these bytes a beginner may not understand how to create a full character if the instructions were not completely read.
Hi Englishscone. I think that is a very good suggestion. In addition to being potentially confusing, this also could lead to a confusing bug if the user made the smiley local (after all, why is it even global?). As a local variable, the uninitialized part of the array can have any values.
I notice that in the example sketch that comes with the library, the array is fully initialized (note they put the extra blank row at the top):
The people with access to edit the Arduino documentation aren't always able to keep up with all the posts on the forum, so there is a good chance they won't see your suggestion. The best way to bring it to their attention is to submit an issue to the bug tracker for the LiquidCrystal library:
pert:
Hi Englishscone. I think that is a very good suggestion. In addition to being potentially confusing, this also could lead to a confusing bug if the user made the smiley local (after all, why is it even global?). As a local variable, the uninitialized part of the array can have any values.
The people with access to edit the Arduino documentation aren't always able to keep up with all the posts on the forum, so there is a good chance they won't see your suggestion. The best way to bring it to their attention is to submit an issue to the bug tracker for the LiquidCrystal library:
https://github.com/arduino-libraries/LiquidCrystal/issues
Thanks!
Thank you so much! Wow that was my first karma, feels amazing haha.