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
Touch Pad help!
Moderator: Benj
- 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!
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel