Hello, i am wondering if anyone could shed some light on this problem i am having.
i cant seem to figure out how to link my Touch buttons i have displayed on my TFt touch screen
I will attach a photo of where i am at
I want there to be 5 out puts off 5 different buttons and one button to take me to a different page
Photo To Display
Well I can't tell about the 5 Box buttons, but the Circle button has a function called. Touch() Perhaps you can check to see if it is pressed and if so, show a new screen. Now if you are using the Box class, then you also have that same Touch function (as well as Delay, Toggle and DoubleClick).
Hello HazardsMind, thank you for your reply, I am actually using your modified Library so thank you for that!
I am using a delay of 0.250 second on the 4 smaller box buttons to stop bounce on the screen and a longer 1 second on the bottom button. The circular button hasn't got a delay at the moment.
I want the square buttons to give an output so for example to light up a LED
Thank you for your help
Easy, put them in an if statement or just use their states.
digitalWrite(LedPin1, Button1.Delay(250) ); // when pressed for 0.25 seconds, I will be true/high.
Sounds good to me!!
I'll give it a go and let you know how I get on! Thank for you for your help.. Sorry if it is a silly basic question.. it's all new to me
No problem, i'm happy to help.