Skip to content

Commit cace3eb

Browse files
authored
Merge pull request #83 from squaregoldfish/main
Fix `create_char` documentation
2 parents 80aeecf + eeeb3c6 commit cace3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_character_lcd/character_lcd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ def create_char(self, location: int, pattern: Sequence[int]) -> None:
483483
The location parameter should be between 0 and 7 and pattern should
484484
provide an array of 8 bytes containing the pattern. E.g. you can easily
485485
design your custom character at http://www.quinapalus.com/hd44780udg.html
486-
To show your custom character use, for example, ``lcd.message = "\x01"``
486+
To show your custom character use, for example, ``lcd.message = "\\x01"``
487487
488488
:param int location: Integer in range(8) to store the created character.
489489
:param Sequence[int] pattern: len(8) describes created character.

0 commit comments

Comments
 (0)