Page 1 of 1

CAP Touch(PIC18F47Q10)

Posted: Tue Mar 16, 2021 1:00 pm
by seokgi
I am using the PIC18F47Q10.
I have requested several times(https://www.matrixtsl.com/mmforums/view ... 76&t=22120) for CAP Touch, but it still does not work.

I want to know if you can't apply or if you are not willing to apply.

Please also review the ADC ref voltage setting.

Thank you.

Re: CAP Touch(PIC18F47Q10)

Posted: Tue Mar 16, 2021 4:47 pm
by BenR
Hello,

Very sorry for the delay in getting this to you, I've now had a look and hopefully implemented the functionality for you now in both v8 and v9.

Let me know how you get on.

Re: CAP Touch(PIC18F47Q10)

Posted: Tue Mar 23, 2021 8:55 am
by seokgi
The function doesn't work yet. When will this feature work?

Re: CAP Touch(PIC18F47Q10)

Posted: Tue Mar 23, 2021 11:11 am
by BenR
Hello,

I'm afraid I don't have the chip to hand. If you need this feature to function then please can you help me to get it working for you.

Are you getting anything out of it or is it just returning 0's?

Re: CAP Touch(PIC18F47Q10)

Posted: Tue Mar 23, 2021 12:31 pm
by seokgi
We will upload the result of the compilation. In addition, a flowchart is also posted.

Re: CAP Touch(PIC18F47Q10)

Posted: Tue Mar 23, 2021 12:35 pm
by BenR
Hello,

Thanks for the program. There is a touch component but it doesn't seem to be being called anywhere.

You will also probably need to calibrate the on/off values in the touch component properties by creating a program and calling GetTouchValue to read the raw ADC output.

Re: CAP Touch(PIC18F47Q10)

Posted: Tue Mar 23, 2021 12:44 pm
by seokgi
After modifying the program, we will upload the compilation result.

Re: CAP Touch(PIC18F47Q10)

Posted: Tue Mar 23, 2021 3:58 pm
by BenR
Hello,

The Touch_0_Raw variable should ideally be of type UINT.

What values are you getting on the serial port?