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.
CAP Touch(PIC18F47Q10)
-
- Posts: 182
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 1:43 pm
- Has thanked: 5 times
- Been thanked: 7 times
-
- Matrix Staff
- Posts: 1774
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 452 times
- Been thanked: 612 times
Re: CAP Touch(PIC18F47Q10)
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1774
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 452 times
- Been thanked: 612 times
Re: CAP Touch(PIC18F47Q10)
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?
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?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: CAP Touch(PIC18F47Q10)
We will upload the result of the compilation. In addition, a flowchart is also posted.
- Attachments
-
- K-003.png (53.95 KiB) Viewed 3661 times
-
- Level.fcfx
- (23.04 KiB) Downloaded 147 times
-
- Matrix Staff
- Posts: 1774
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 452 times
- Been thanked: 612 times
Re: CAP Touch(PIC18F47Q10)
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: CAP Touch(PIC18F47Q10)
After modifying the program, we will upload the compilation result.
- Attachments
-
- Level.fcfx
- (23.5 KiB) Downloaded 145 times
-
- K-004.png (190.74 KiB) Viewed 3659 times
-
- Matrix Staff
- Posts: 1774
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 452 times
- Been thanked: 612 times
Re: CAP Touch(PIC18F47Q10)
Hello,
The Touch_0_Raw variable should ideally be of type UINT.
What values are you getting on the serial port?
The Touch_0_Raw variable should ideally be of type UINT.
What values are you getting on the serial port?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel