Jump to content
43oh

rado_1

Members
  • Content Count

    8
  • Joined

  • Last visited

Everything posted by rado_1

  1. Thank you very, very much finally works
  2. Anyway, you helped me a lot with the libraries and this is the most important , i will recheck my coding and wiring. Thank you very very very much for your help my friend, best regards.
  3. only backlight is on, maybe my wiring is wrong?
  4. This is my Energia program #include <stdint.h> #include <TFTv2.h> #include <SPI.h> void setup() { Serial.begin(115200); Tft.begin(P2_0,P2_1,P2_2,P2_4); // CS,DC,BL,RESET pin // turn on the background light Tft.TFTinit(); Tft.backlight_on(); //init TFT library Tft.drawLine(0,0,239,319,RED); //start: (0, 0) end: (239, 319), color : RED Tft.drawVerticalLine(60,100,100,GREEN); // Draw a vertical line // start: (60, 100) length: 100 color:
  5. I dont know where the problem is... I dont recive any error program uploads but the display is not working
  6. Thank you my friend but still i miss something. //TFTv2.cpp #include <TFTv2.h> #include <SPI.h> #include <stdint.h> #include "Energia.h" #define FONT_SPACE 6 #define FONT_X 8 #define FONT_Y 8 void TFT::sendCMD(INT8U index) { digitalWrite(_dcPin, LOW); digitalWrite(_csPin, LOW); SPI.transfer(index); digitalWrite(_csPin, HIGH); } void TFT::WRITE_DATA(INT8U data) { digitalWrite(_dcPin, HIGH); digitalWrite(_csPin, LOW); SPI.transfer(data); digitalWrite(_csPin, HIGH); } void TFT::sendData(INT16U data) { INT8U data1 = data&g
  7. This one https://github.com/gmtii/ili9341-arduino
  8. Hello friends! I have big problem finding libraries for 2.2 inch LCD TFT ILI9341. Im using Energia and MSP430G2553, i try to modify Arduino library but i fail. Pls Help!
×
×
  • Create New...