Touch Pad help!

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
seokgi
Posts: 164
Joined: Fri Jan 13, 2012 4:21 am
Location: South KOREA
Has thanked: 18 times
Been thanked: 16 times
Contact:

Touch Pad help!

Post 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
Attachments
Shoes_Case.fcfx
(25.3 KiB) Downloaded 142 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Touch Pad help!

Post 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.

Post Reply