Page 1 of 1
Capacitive sensing from PCBHeaven .asm file conversion
Posted: Mon Dec 24, 2012 6:24 pm
by opieflus
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.
Re: Capacitive sensing from PCBHeaven .asm file conversion
Posted: Tue Dec 25, 2012 8:07 am
by jgu1
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
Re: Capacitive sensing from PCBHeaven .asm file conversion
Posted: Wed Jan 09, 2013 12:20 am
by opieflus
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!
Re: Capacitive sensing from PCBHeaven .asm file conversion
Posted: Fri Jan 11, 2013 3:45 pm
by Benj
Hello,
I have posted a cap touch program here which is working very reliably.
http://www.matrixmultimedia.com/mmforum ... 46&t=11669