Skip to content

Arduino reference code CreateChar problem #26

@Englishscone1

Description

@Englishscone1

Hey everyone,

https://www.arduino.cc/en/Reference/LiquidCrystalCreateChar

The example code for the Arduino Reference contains this byte:

byte smiley[8] = { 0b00000, 0b00000, 0b01010, 0b00000, 0b00000, 0b10001, 0b01110, 0b00000 };

When creating this character, the code only used 7 bytes, not 8. With beginners in mind, I would recommend adding the unneeded 8th byte "0b00000" 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions