Capacitive sensing from PCBHeaven .asm file conversion
Capacitive sensing from PCBHeaven .asm file conversion
I have started converting the .asm file from PCBHeaven that has 10 (I think) capacitive sensing channels on it for the 16f1937 pic chip. The Flowcode file is in the beginning stages of conversion, but if anyone wants to take a go of it and continue alongside my efforts here it is. Maybe someone can get it working faster than I can. The file is from a template I was working on, so any strange macros you may see are from that. I do not yet know how to delete macros all the way from the file. The file is Flowcode version 5. The .asm file works when loaded onto the chip, so no problems there. I am a Flowcode, c, and assembly amateur so please ignore any obvious mistakes you see.
- Attachments
-
- cap sense.fcf
- (29.11 KiB) Downloaded 289 times
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
Re: Capacitive sensing from PCBHeaven .asm file conversion
Hi!
I have previously asked if anyone could do this. But in FC and without C. I would love to have helped, but as I said, I can´t program in C. I understand your project is not finished. Enamul has also promised in another thread, that you've probably seen and try to make an effort without C. I like this capasitive sensing, and I will follow the thread.
Thank you.
Jorgen

I have previously asked if anyone could do this. But in FC and without C. I would love to have helped, but as I said, I can´t program in C. I understand your project is not finished. Enamul has also promised in another thread, that you've probably seen and try to make an effort without C. I like this capasitive sensing, and I will follow the thread.
Thank you.
Jorgen
Re: Capacitive sensing from PCBHeaven .asm file conversion
Ok, so I am tired of working on this project for a little while. Here is the Flowcode file with the original file from pcbheaven.com included in the comments at the top of the file. This program is NOT working correctly, but the interrupt does work. For some reason it gets stuck at a few points and I have no idea why. If someone else can figure it out, please do so and post your results.
Good luck!
Good luck!
- Attachments
-
- cap sense.fcf
- (49.4 KiB) Downloaded 270 times
- 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: Capacitive sensing from PCBHeaven .asm file conversion
Hello,
I have posted a cap touch program here which is working very reliably.
http://www.matrixmultimedia.com/mmforum ... 46&t=11669
I have posted a cap touch program here which is working very reliably.
http://www.matrixmultimedia.com/mmforum ... 46&t=11669
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