From 34447889236bac0906e489b2ef390187f7b84069 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Tue, 1 Oct 2019 15:44:27 -0700 Subject: [PATCH] Added software SPI as an option --- examples/ili9341_shield_simpletest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/ili9341_shield_simpletest.py b/examples/ili9341_shield_simpletest.py index b52a636..b07598a 100644 --- a/examples/ili9341_shield_simpletest.py +++ b/examples/ili9341_shield_simpletest.py @@ -13,7 +13,13 @@ # Release any resources currently in use for the displays displayio.release_displays() +# Use Hardware SPI spi = board.SPI() + +# Use Software SPI if you have a shield with pins 11-13 jumpered +#import busio +#spi = busio.SPI(board.D11, board.D13) + tft_cs = board.D10 tft_dc = board.D9