ILI9341 TFT driver (SPI) (#153)

* ili9341: Add spidriver
This commit is contained in:
sago35
2020-06-16 01:46:13 +09:00
committed by GitHub
parent 21ba9392e2
commit 941ea4e28b
13 changed files with 296 additions and 38 deletions
+22
View File
@@ -0,0 +1,22 @@
// +build pyportal
package main
import (
"machine"
"tinygo.org/x/drivers/ili9341"
)
var (
display = ili9341.NewParallel(
machine.LCD_DATA0,
machine.TFT_WR,
machine.TFT_DC,
machine.TFT_CS,
machine.TFT_RESET,
machine.TFT_RD,
)
backlight = machine.TFT_BACKLIGHT
)