diff --git a/examples/framerate.py b/examples/framerate.py index fe5bd98..333ebfa 100644 --- a/examples/framerate.py +++ b/examples/framerate.py @@ -43,9 +43,9 @@ Running at: {}MHz # Create ST7735 LCD display class. disp = ST7735.ST7735( port=0, - cs=ST7735.BG_SPI_CS_FRONT, + cs=ST7735.BG_SPI_CS_FRONT, # BG_SPI_CSB_BACK or BG_SPI_CS_FRONT dc=9, - backlight=18, + backlight=19, # 18 for back BG slot, 19 for front BG slot. rotation=90, spi_speed_hz=SPI_SPEED_MHZ * 1000000 ) diff --git a/examples/gif.py b/examples/gif.py index db9d485..051d9ca 100644 --- a/examples/gif.py +++ b/examples/gif.py @@ -39,9 +39,9 @@ else: # Create TFT LCD display class. disp = ST7735.ST7735( port=0, - cs=ST7735.BG_SPI_CS_FRONT, + cs=ST7735.BG_SPI_CS_FRONT, # BG_SPI_CSB_BACK or BG_SPI_CS_FRONT dc=9, - backlight=18, + backlight=19, # 18 for back BG slot, 19 for front BG slot. spi_speed_hz=4000000 ) diff --git a/examples/image.py b/examples/image.py index ab76efa..8f1a5f1 100644 --- a/examples/image.py +++ b/examples/image.py @@ -39,9 +39,9 @@ image_file = sys.argv[1] # Create ST7735 LCD display class. disp = ST7735.ST7735( port=0, - cs=ST7735.BG_SPI_CS_FRONT, + cs=ST7735.BG_SPI_CS_FRONT, # BG_SPI_CSB_BACK or BG_SPI_CS_FRONT dc=9, - backlight=18, + backlight=19, # 18 for back BG slot, 19 for front BG slot. rotation=90, spi_speed_hz=4000000 ) diff --git a/examples/scrolling-text.py b/examples/scrolling-text.py index 7472ade..262718e 100644 --- a/examples/scrolling-text.py +++ b/examples/scrolling-text.py @@ -11,9 +11,9 @@ MESSAGE = "Hello World! How are you today?" # Create ST7735 LCD display class. disp = ST7735.ST7735( port=0, - cs=ST7735.BG_SPI_CS_FRONT, + cs=ST7735.BG_SPI_CS_FRONT, # BG_SPI_CSB_BACK or BG_SPI_CS_FRONT dc=9, - backlight=18, + backlight=19, # 18 for back BG slot, 19 for front BG slot. rotation=90, spi_speed_hz=10000000 ) diff --git a/examples/shapes.py b/examples/shapes.py index e8596e0..341338c 100644 --- a/examples/shapes.py +++ b/examples/shapes.py @@ -35,9 +35,9 @@ breakout into the rear slot. # Create ST7735 LCD display class. disp = ST7735.ST7735( port=0, - cs=ST7735.BG_SPI_CS_FRONT, + cs=ST7735.BG_SPI_CS_FRONT, # BG_SPI_CSB_BACK or BG_SPI_CS_FRONT dc=9, - backlight=18, + backlight=19, # 18 for back BG slot, 19 for front BG slot. rotation=90, spi_speed_hz=4000000 )