Page 1 of 1

Touch Pad help!

Posted: Thu May 14, 2020 9:00 am
by seokgi
Good morning?
I am doing a program that uses a touch switch.
But there is no reaction at all. I also reported an example, but it doesn't work. Someone please help.

MCU: PIC18F47Q10

Re: Touch Pad help!

Posted: Fri May 15, 2020 11:20 pm
by Benj
Hello,

The sim seems a bit broken for the component I'll see if I can get this fixed for you. It is working it's just the switch doesn't quite move like it should be.

In the component properties you have the values on = 100 and off = 50.

In the GetTouchPressed macro call you are using the values 100 and 200.

Try changing these to 50 and 5 and the switch should work as expected. This isn't my component and I'm not too sure what the parameters mean.