Created
October 12, 2019 11:48
-
-
Save boochow/bbf4f824e6751f3b5b10205dfa6020dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ST7735 import TFT | |
from machine import SPI,Pin | |
spi = SPI(2, baudrate=20000000, polarity=0, phase=0, sck=Pin(14), mosi=Pin(13), miso=Pin(12)) | |
tft=TFT(spi,16,17,18) | |
tft.initb2() | |
tft.rgb(True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment