Jump to content


  • Content Count

  • Joined

  • Last visited

  1. #include <stdint.h> #include <TFTv2.h> #include <SPI.h> void setup() { TFT_BL_ON; // turn on the background light Tft.TFTinit(); // init TFT library Tft.drawChar('S',0,0,1,RED); // draw char: 'S', (0, 0), size: 1, color: RED Tft.drawChar('E',10,10,2,BLUE); // draw char: 'E', (10, 10), size: 2, color: BLUE Tft.drawChar('E',20,40,3,GREEN); // draw char: 'E', (20, 40), size: 3, color: GREEN Tft.drawChar('E',30,80,4,YELLOW); // draw char: 'E', (30, 80), size: 4, color: YELLOW
  2. Hi all, I am currently just trying to upload a example sketch to my MSP430G2553, all i'm getting is a compile error. The github library is; https://github.com/ibm666/ILI9341libraryforEnergiaMSP430Launchpad what im getting error wise is; In file included from D:\energia-1.6.10E18\libraries\ili9341-arduino-master\examples\drawNumber\drawNumber.ino:8:0: D:\energia-1.6.10E18\libraries\ili9341-arduino-master/TFTv2.h:33:17: fatal error: SPI.h: No such file or directory compilation terminated. Using library ili9341-arduino-master in folder: D:\energia-1.6.10E18\libraries\il
  • Create New...