Re: Libraries for touchscreen TFT module (ILI9341 + XPT2046)
Posted: Fri Sep 18, 2015 10:22 pm
The second link is the one I actually have (same vendor, too, I think). Don't see why the first one would not work (I see MOSI/MISO on that header, no?). As for the last one, touch driver is the same, but it doesn't say what TFT driver it has -- for larger displays I usually see either SSD1351 (which is not supported by ugclib, see https://github.com/olikraus/ucglib/issues/53, perhaps other libraries do?) or ILI9841 (have to check the datasheet and see how similar commands are.. some day .
In the meantime, earlier today I had a d-oh moment, just switched SPI clock to 32MHz (1-line change), and I now get >15fps across the board, which I think is pretty cool! Proof:
At 40MHz the ILI seems to drop bits and garbles image (reaches ~20fps on text), didn't try values in-between -- but this is not bad!
In the meantime, earlier today I had a d-oh moment, just switched SPI clock to 32MHz (1-line change), and I now get >15fps across the board, which I think is pretty cool! Proof:
At 40MHz the ILI seems to drop bits and garbles image (reaches ~20fps on text), didn't try values in-between -- but this is not bad!
SwiCago wrote:Very nice example...Has anyone tried a larger cheap display?
would these from fleabay be compatible?
4.3"
http://www.ebay.com/itm/3-2inch-TFT-LCD ... 46383e4bca
2.4"
http://www.ebay.com/itm/240x320-2-4-SPI ... 4adab6ab15
This one would be cool too, but I don't think it uses same chips
http://www.ebay.com/itm/New-3-5-TFT-LCD ... 33a9635d1a