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!
1.8'' and 2.2'' TFT
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67391
- Joined: Thu Feb 11, 2010 2:51 pm
Re: 1.8'' and 2.2'' TFT
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.
-
- Posts: 4
- Joined: Sat Jan 11, 2014 9:33 pm
Re: 1.8'' and 2.2'' TFT
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?
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?
- adafruit_support_mike
- Posts: 67391
- Joined: Thu Feb 11, 2010 2:51 pm
Re: 1.8'' and 2.2'' TFT
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.
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.
Please be positive and constructive with your questions and comments.