mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-04-09 19:15:52 +02:00
Add contrast option docs to PCD8544 (#834)
* Add docs for esphome/esphome#1348 * Update components/display/pcd8544.rst Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
5cd8d5204e
commit
d608db993c
@ -39,6 +39,7 @@ VCC to 3.3V and GND to GND.
|
||||
reset_pin: D0
|
||||
cs_pin: D8
|
||||
dc_pin: D1
|
||||
contrast: 0x7f
|
||||
lambda: |-
|
||||
it.print(0, 0, id(font), "Hello World!");
|
||||
|
||||
@ -60,6 +61,7 @@ Configuration variables:
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to re-draw the screen. Defaults to ``5s``.
|
||||
- **pages** (*Optional*, list): Show pages instead of a single lambda. See :ref:`display-pages`.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **contrast** (*Optional*, int): Set screen contrast (0-255). Defaults to ``0x7f``.
|
||||
|
||||
|
||||
See Also
|
||||
|
Loading…
Reference in New Issue
Block a user