Billie's Hydroponic Controller

HI Billie

Please bear in mind I'm a complete noob, just had my board for about 5 days.

Awesome sketch. I'm waiting on a few more parts to arrive, mainly cabling cant really hook anything up using my sainsmart board and shield tft, it pretty well covers everything up including the reset button.

I couldn't get the ITDB02_Touch library to work so I am using Utouch and its works fine until I power the board down. When I repower the board the touch screen does not work until i 1. reload sketch several times 2. touch a 100 ohm resistor across reset and gnd. to reset the board.

I am using 1.0.5 but i did try it on 1.0 and it does the same thing. I've pasted the top part of the sketch where I have changed it the rest is as you wrote it.

I've been searching google for a answer for the last four days but I cant find a solution, but I probably wouldnt see it if I was looking right at it.

Anyway I hope you or somebody can give me some ideas because I am hopelessly stuck.

Thanks

#include <UTFT.h>
#include <UTouch.h>
#include <UTouchCD.h>
#include <SD.h> //SD card library
#include <Wire.h> //One Wire library
#include <RTClib.h> //Real Time Clock library
#include <EEPROMEx.h> //Extended Eeprom library

UTFT myGLCD(ITDB32S,38,39,40,41); //pins used for TFT
UTouch myTouch(6,5,4,3,2); // original values 6,5,4,3,2);

#define dht_dpin 69 //pin for DHT1

void graphLoop()
{
if (true)
{
if (myTouch.dataAvailable())

{
myTouch.read();
x=myTouch.getX();
y=myTouch.getY();

if (page == 0)
{
if ((x>=255) && (x<=312))
{
if ((y>=17) && (y<=47))