Hi all
I'm a COMPLETE newbie so apologies if the questions are really basic.
I'm going to start an aquarium controller project using an AT mega 2560 and a TFT touchscreen interface to control heaters, pumps etc. I'm only just beginning my project so I'm sure there will be lots more queries to come, but my very first is:
I have
1)5.0" screen from ITead
2) touchscreen/LCD shield
- as per this page: http://blog.iteadstudio.com/instruction-for-iteadstudio-tft-module/
My problem is that using the shield instantly takes up every pin on the mega. Which are the output pins that I need specifically so I can use the other pins for relay control/inputs/etc? According the the UTFT library for the LCD screen from Henning Karlsen, the appropriate pins look like they are 38, 39, 40 and 41, and for the touchscreen (using the UTouch library), the appropriate pins look like 6,5,4, 3,2.
Does that mean I can connect these pins specifically to their match on the touchscreen/LCD shield and have all other pins available for (eg) analog or digital read/write statements etc so I can (for instance) measure temperature in the tank and switch on or off a heater?
cheers all
Sam