Truncated match.
PICList
Thread
'some code please'
1997\03\10@185424
by
Bob
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
crystal.
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
it.
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.
Thankyou
spam_OUTdeicideTakeThisOuT
fia.net
1997\03\10@193514
by
Greg Maki
1997\03\11@212514
by
John Doe
Greg Maki wrote:
>
> Bob,
>
> Fast Forward Engineering has a BASIC routine to generate a precise
> delay
> routine. The URL is
> http://www.geocities.com/SiliconValley/2499/answers.html#PIC00067
>
> 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.
.....deicideKILLspam
@spam@fia.net
1997\03\12@005254
by
Andrew Warren
|
John Doe <PICLIST
KILLspamMITVMA.MIT.EDU> wrote:
> 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.
Sigh...
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]
WAITMS:
MOVWF MSTIMER
WAITMS1:
MOVLW 223
WAITMS2:
ADDLW -1
SKPZ
GOTO WAITMS2
DECFSZ MSTIMER
GOTO WAITMS1
RETURN
Sorry, but I don't use the Parallax instruction set... Maybe Andy
Kunz will translate it for you.
-Andy
=== Andrew Warren - .....fastfwdKILLspam
.....ix.netcom.com
=== Fast Forward Engineering - Vista, California
===
=== Did the information in this post help you? Consider
=== contributing to the PICLIST Fund. Details are at:
=== www.geocities.com/SiliconValley/2499/fund.html
More... (looser matching)
- Last day of these posts
- In 1997
, 1998 only
- Today
- New search...