http://www.firewing.info/pmwiki.php?n=F ... ser.ST7735
- Code: Select all
' set high speed clock...
clock = 80
'#option _gccOptimise = O2
#option TFT_MODEL = ST7735
#option TFT_SCK = porte.0'ck26
#option TFT_SDA = porte.1' ck27
#option TFT_RS = porte.2'ck28
#option TFT_RW = porte.3'ck29
#option TFT_CS = porte.4 'ck30
imports Tft
imports TftGraphic
imports FixedFont
sub main()
while true
Tft.Clear()
Tft.SetBrushColor(255, 255, 0)
Tft.FillRect(0, 0, 120, 150)
Tft.SetFont(fixed)
Tft.SetPenColor(255, 255, 255)
'Tft.WriteStr(50,50,"*")
delayms(100)
end while
end sub
end
any ideas? ps i have tried a second lcd which i had forgotten that i still had but it does the same.
also can anyone recommend a not too expensive lcd that is known to work with the compiler?
Rich