'some code please'
I need someone to help me out with a program. I need two pieces
of code, one which lets me time something acurately for just a short
period of time, and the other to make DTMF tones.
The first piece of code I need has to be a delay that can be
specified in milliseconds, my PIC 16c84 will be running off a color burst
The second piece of code should make the DTMF tones by letting me
specify the two frequencies that need to be mixed, such a 900 + 1400 or
whatever the tone may be. And yes I do have some DTMF generating chips,
but I prefer not to use them for this project since the PIC could handle
I would appreciate it if someone could write these two fragments
of code for me because I do not have enough knowledge on the PIC right
now to write it, but I plan on reading whatever is given to me to figure
out how it works.
Greg Maki wrote:
> Fast Forward Engineering has a BASIC routine to generate a precise
> routine. The URL is
> Hope this helps.
> Greg Maki
Thats a pretty nice program, but it just stumped me further. Mabye its
because I use the Parallax instruction set. If someone could provide
some more help for me I would appreciate it. Again what I am looking for
is a piece of code to make a delay that can be specified in
milliseconds. I fomeone can do this in the parallax instruction set it
would be great. My 16c84 will be running off a colorburst crystal.
Thanks a lot.
John Doe <MITVMA.MIT.EDU> wrote: PICLIST
> what I am looking for is a piece of code to make a delay that can
> be specified in milliseconds. I fomeone can do this in the parallax
> instruction set it would be great. My 16c84 will be running off a
> colorburst crystal.
Ok, here's the code:
; WAIT SOME NUMBER OF MILLISECONDS (MORE OR LESS) ON A 14-BIT
; PIC RUNNING AT 3.579545 MHZ.
; ENTER WITH THE NUMBER OF MILLISECONDS IN W.
MSTIMER EQU [any general-purpose file register]
Sorry, but I don't use the Parallax instruction set... Maybe Andy
Kunz will translate it for you.
=== Andrew Warren - ix.netcom.comfastfwd
=== Fast Forward Engineering - Vista, California
=== Did the information in this post help you? Consider
=== contributing to the PICLIST Fund. Details are at:
More... (looser matching)
- Last day of these posts
- In 1997
, 1998 only
- New search...