Digistump Forums
The DigiX => DigiX Support => Topic started by: stanley on July 18, 2014, 07:39:29 pm
-
Hi,
I'm a bit confused on the SPI pins used for the UTFT libs..
I'm currently setting the following SPI pins but nothing appear on my 2.2" TFT on SPI ( mine is similar to this one http://www.elecfreaks.com/store/22%C3%82%E2%80%99-tft-lcd-tft0122sp-p-672.html )
UTFT myGLCD(TFT01_22SP,75,76,10,48,49);
75,76 are on the 3x2 ICSP SPI pins as per the pinout docs...
I'm just running the example 320x240 for ARM .. it compile file and uploaded to the DigiX successfully...
The UTFT docs says :-

Parameters: Model: See the separate document for the supported display modules
SDA: Pin for Serial Data
SCL: Pin for Serial Clock
CS: Pin for Chip Select
RST: Pin for Reset
RS: <optional> Only used for 5pin serial modules
Pin for Register Select
Usage: UTFT myGLCD(ITDB18SP,11,10,9,12,8); // Start an instance of the UTFT class
The docs on elecfreks for this TFT are :-
SDO: Serial clock output
LED: 3.3V IO and Power Supply pin
SCL: Serial clock input
SDA / SDI: Serial data input
DC: Data / Command selection
RST: Reset, Low level active
CS: Chip Selection, Low level active
GND: Ground
VDD33: 3.3V Power Supply pin
UTFT Support
-
Sorry, the links for the 2.2" TFT LCD are http://forum.arduino.cc/index.php?topic=200126.15 (http://forum.arduino.cc/index.php?topic=200126.15)
I found out my 2nd TFT was faulty .. the first one works normally..