Adafruit_TFTLCD Library modification

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
Enny
 
Posts: 1
Joined: Thu Aug 30, 2012 7:31 am

Adafruit_TFTLCD Library modification

Post by Enny »

Hey,
I am using the 2.8" TFT LCD with Touchscreen and everything is up and running like a top. I am using this to make a touchscreen remote control for my living room. The problem is that the Ir library I am using requires pin 3 to send ir signals. I am still relatively new to arduino and haven't done any messing around with writing or modifying libraries. Would it be possible to modify the Adafruit_TFTLCD library so that D3 uses a different pin other than pin 3? Just curious as to if it is possible with out a complete library overhaul.

User avatar
adafruit_support_bill
 
Posts: 88086
Joined: Sat Feb 07, 2009 10:11 am

Re: Adafruit_TFTLCD Library modification

Post by adafruit_support_bill »

Would it be possible to modify the Adafruit_TFTLCD library so that D3 uses a different pin other than pin 3?
This would require both hardware modifications and extensive library changes. The library is optimized to use port-level I/O. If you change pins, the resulting code will be much slower as well.

I think it would be much easier to change the IR library to use a different pin.

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

Return to “Arduino”