From 39d5fc63121c71fd7f63c54c9c9e74e78dce5d42 Mon Sep 17 00:00:00 2001 From: James Callaghan Date: Tue, 11 May 2021 13:40:52 +0100 Subject: [PATCH] Sample codeblock has incorrect variables (#1156) Four of the variables in the sample codeblock don't include underscores as defined in the variables section. This throws an error when using this sample code. To avoid others getting these errors I have updated the sample so it uses the right variables. --- components/display/st7735.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/display/st7735.rst b/components/display/st7735.rst index 2c5554ad5..58e5c341c 100644 --- a/components/display/st7735.rst +++ b/components/display/st7735.rst @@ -34,10 +34,10 @@ There are numerous board types out there. Some initialize differently as well. T cs_pin: D1 dc_pin: D2 rotation: 0 - devicewidth: 128 - deviceheight: 160 - colstart: 0 - rowstart: 0 + device_width: 128 + device_height: 160 + col_start: 0 + row_start: 0 eightbitcolor: true update_interval: 5s