Recently started playing with PICs and am just fascinated at what they can do.

I am trying to build a simple remote control system for an amateur radio remote receiver using a DTMF decoder chip like an 8870 and a PIC such as a 16F877A. Does anyone have a code example of how the PIC would handle the input lines from the DTMF decoder? There is a valid digit line and 4 "decode" lines from the decoder. All I need is the BASICPRO program which would strobe the input lines, and when the valid signal is received determine which digit it represents. I can write the code for passwords, and determining what function the received number is to execute. I have looked through the code example part of the site and found one for a matrix keypad, but it does not include the use of a "valid" signal line.

There is at least one example on the web, but it is written in assembly language and I got too discouraged trying to "decode" it.

Thanx