chipKIT® Development Platform

Inspired by Arduino™

ST7781 driver lib for ChipKit

Created Mon, 27 Oct 2014 15:58:14 +0000 by moondeck


moondeck

Mon, 27 Oct 2014 15:58:14 +0000

Hi. I have a ST7781 2.4 inch el-cheapo display from e-bay, but i cant get it to work, i tried all libraries i could find, but it does nothing (white screen) or wont compile at all. What to do?


Jacob Christ

Sat, 31 Jan 2015 23:24:40 +0000

Depending on your skill level these may be helpful or of no consequence.

http://chipkit.net/guide-making-contributed-libs-cross-platform/ http://chipkit.net/tips-porting-arduino-libraries/ http://quick240.com/quicki/chipkit:libraries

I wish I had more time to help you get this working.

Jacob


madias

Sun, 01 Feb 2015 22:49:26 +0000

Ok, it is possible, but the steps depends on your MCU: I've a port for the ST7781 for UTFT. PIC32 are well supported by UTFT, but not all chips, so you've to rewrite the hardware/pic32 items. Currently supported: PIC32MX320F128H, PIC32MX340F512 and PIC32MX795F512 PIC32MX250xx only works currently with SPI mode (no 8-bit data) I've added into the zip (it comes from energia/TI stellaris, but should be 100% compatible) the necessary ST7781 driver, you call it with "SEEEDV10". Please don't ask me about the 8-bit data pinouts, just look inside the /hardware/pic32/youMCU.h file. Beware: there are some chepo 2.4 tft-lcd-whatever out on ali and ebay, they've an ili9340 chipset (but declared as ST7781/St7783)