![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
benoitstjean
Joined: 30 Oct 2007 Posts: 553 Location: Ottawa, Ontario, Canada
|
|
Posted: Fri Apr 17, 2009 6:26 am |
|
|
As explained earlier in the thread, ALL the code is there, including the code for the interrupt. The code I posted is for the PIC device from Microchip (PIC18F4620). The interrupt code for input B0 is found at line starting with #int_ext - it clearly says "External interrupt on B0" as a comment line.
And also, notice the message from Dave_27 "Thanks for your DRIVER code, we can call a different country without any problem, it's a fantastic DRIVER.". This indicates to me that this guy took the exact code I posted and made it work. So, I don't know why it is not working for you.
It could be a problem with your circuit. If you have an oscilloscope, I suggest you put the probe on the DTMF OUT pin. Maybe the circuit has something wrong in it. There's more to it than just code. There are so many factors in the equation so you cant assume that only the code is wrong.
Again, ALL the code required to dial DTMF digits and receiving DTMF digits is there and it works. |
|
![](templates/subSilver/images/spacer.gif) |
codewiz
Joined: 03 Feb 2009 Posts: 8
|
How to apply? |
Posted: Wed Oct 07, 2009 5:56 am |
|
|
Hi benoitstjean
Great stuff. Please, can I use MT8870 DTMF decoder with the code.
BTW, what kind of project can I do with this driver. Please, send a sample project to my e-mail doc.code[at]yahoo.com to help clarify the application. Thanks. |
|
![](templates/subSilver/images/spacer.gif) |
benoitstjean
Joined: 30 Oct 2007 Posts: 553 Location: Ottawa, Ontario, Canada
|
|
Posted: Wed Oct 07, 2009 6:20 am |
|
|
Hi Codewiz,
If you read the entire post, I wrote that the code was written for the MT8885 and was to be interfaced with a PIC microcontroller and an MH88437.
Therefore, I don't know if it'll work with the MT8870 because I've never used that chip nor looked at the specs. You should compare the specs with the MT8885.
The code I used is posted in this thread. I started-off with the original code from the Italian guy, which didn't work, and made it work and posted it here. Everything you need is there as far as I remember.
The kind of project you can do is what your imagination can think of. It's a DTMF encoder/decoder... whatever application you can think of that can make use of DTMF sending and receiving...
Benoit |
|
![](templates/subSilver/images/spacer.gif) |
codewiz
Joined: 03 Feb 2009 Posts: 8
|
Thank you! |
Posted: Thu Oct 08, 2009 5:55 am |
|
|
Thanks for kind reply. |
|
![](templates/subSilver/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|