1.8'' and 2.2'' TFT

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
zepedrowdp
 
Posts: 4
Joined: Sat Jan 11, 2014 9:33 pm

1.8'' and 2.2'' TFT

Post by zepedrowdp »

Hello!

I'm interested in buying a TFT screen. Although I'm not certain yet if I'll go with the 1.8'' or 2.2'' I have a question:
Will the code be the same for both screens? If I need to change the dimension in the middle of the project, do I have to get a different library for the ILI9341?


Thanks!

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: 1.8'' and 2.2'' TFT

Post by adafruit_support_mike »

Our display libraries are built on the Adafruit_GFX base library, so most of the code you'll use will carry over from one display to the next. There may be some details you need to adjust, but it won't be a full-scale "dump this codebase and start writing a new one" thing.

zepedrowdp
 
Posts: 4
Joined: Sat Jan 11, 2014 9:33 pm

Re: 1.8'' and 2.2'' TFT

Post by zepedrowdp »

Ok I see!

The other thing that troubles me is that I plan to controll this with an ARM mcu... Do you know where can I find a library that works with that?

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: 1.8'' and 2.2'' TFT

Post by adafruit_support_mike »

You can try the Adafruit libraries. Many of them have been ported over for the Due, which is an ARM platform.

If they don't work, I'm afraid you'll need to do your own search or port. You're free to use our code as a reference.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”