Thanks! --- Peter May wrote: > Sorry for the delay > > > dtmfout portb.1,[3] > > Produced > > > ; PicBasic Pro Compiler 2.32, (c) 1998, 2000 > microEngineering Labs, Inc. All > Rights Reserved. > PM_USED EQU 1 > > INCLUDE "16F877.INC" > > > ; Define statements. > ; C:\PBP\16F877.BAS 00018 DEFINE > CODE_SIZE 8 > #define CODE_SIZE 8 > > RAM_START EQU 00020h > RAM_END EQU 001EFh > RAM_BANKS EQU 00004h > BANK0_START EQU 00020h > BANK0_END EQU 0007Fh > BANK1_START EQU 000A0h > BANK1_END EQU 000EFh > BANK2_START EQU 00110h > BANK2_END EQU 0016Fh > BANK3_START EQU 00190h > BANK3_END EQU 001EFh > EEPROM_START EQU 02100h > EEPROM_END EQU 021FFh > > R0 EQU RAM_START + > 000h > R1 EQU RAM_START + > 002h > R2 EQU RAM_START + > 004h > R3 EQU RAM_START + > 006h > R4 EQU RAM_START + > 008h > R5 EQU RAM_START + > 00Ah > R6 EQU RAM_START + > 00Ch > R7 EQU RAM_START + > 00Eh > R8 EQU RAM_START + > 010h > FLAGS EQU RAM_START + > 012h > GOP EQU RAM_START + > 013h > RM1 EQU RAM_START + > 014h > RM2 EQU RAM_START + > 015h > RR1 EQU RAM_START + > 016h > RR2 EQU RAM_START + > 017h > _PORTL EQU PORTB > _PORTH EQU PORTC > _TRISL EQU TRISB > _TRISH EQU TRISC > #define _PORTB_1 PORTB, 001h > INCLUDE "UNTITLED.MAC" > INCLUDE "PBPPIC14.LIB" > > > ; S:\UNTITLED.BAS 00001 > '**************************************************************** > ; C:\PBP\16F877.BAS 00012 BANK0 > $0020, $007F > ; C:\PBP\16F877.BAS 00013 BANK1 > $00A0, $00EF > ; C:\PBP\16F877.BAS 00014 BANK2 > $0110, $016F > ; C:\PBP\16F877.BAS 00015 BANK3 > $0190, $01EF > ; C:\PBP\16F877.BAS 00016 EEPROM > $2100, $21FF > ; C:\PBP\16F877.BAS 00017 LIBRARY > "PBPPIC14" > ; C:\PBP\16F877.BAS 00018 DEFINE > CODE_SIZE 8 > > ; C:\PBP\16F877.BAS 00020 > include "PIC14EXT.BAS" > > ; C:\PBP\16F877.BAS 00027 > include "PBPPIC14.RAM" > > ; S:\UNTITLED.BAS 00011 dtmfout > portb.1,[3] > DTMFPIN?T _PORTB_1 > DTMFONTIME?C 0C8h > DTMFOFFTIME?C 032h > DTMFOUT?C 003h > > END > > -----Original Message----- > From: Nick Masluk [mailto:mistertippy@YAHOO.COM] > Sent: Monday, July 30, 2001 09:03 > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: DTMF Generation > > > Yeah, that would be great! try compiling something > like this: > > DTMFout PORTA.0, [1] > End > > I'm not 100% sure how the syntax goes, but just make > a > program that puts a single digit out. Then compile > it > into a hex, and disassemble then disassemble the hex > into ASM. > > Thanks, > > --Nick > > > --- Peter May wrote: > > Yes I have a pic basic compiler? can I help? > > > > -----Original Message----- > > From: Nick Masluk [mailto:mistertippy@YAHOO.COM] > > Sent: Monday, July 30, 2001 08:14 > > To: PICLIST@MITVMA.MIT.EDU > > Subject: Re: [PIC]: DTMF Generation > > > > > > I looked over that file, and it seems like its a > > little overkill. I know that the Basic Stamp has > an > > instruction that can do that, I wonder how they > > actually work. > > > > I was going to try it out on my Basic Stamp 2sx > and > > look at the waveform it creates on a scope. So I > > got > > out my neglected Basic Stamp starter kit I've > never > > used, and when I power it up the microcontroller > on > > the stamp and the 5 volt regulator start burning > up > > (with nothing attached except the power supply and > > PC > > serial link). Unfortunately its been almost one > > year > > since I got it, so I don't know if Parallax would > > still be willing to make an exchange for it. > There > > goes $160. > > > > Does anyone have the PicBasic compiler? That has > a > > DTMFout instruction, I wonder what that looks like > > in > > assembly. > > > > --Nick > > > > > > --- Douglas Wood wrote: > > > Microchip has an app. note on this very subject > > (AN > > > 543). > > > > > > Douglas Wood > > > Software Engineer > > > dbwood@kc.rr.com > > > > > > Home of the EPICIS Development System for the > PIC > > > and SX > > > http://epicis.piclist.com > > > > > > ----- Original Message ----- > > > From: "Nick Masluk" > > > To: > > > Sent: Saturday, July 28, 2001 10:32 PM > > > Subject: [PIC]: DTMF Generation > > > > > > > > > > How would DTMF be generated using a PIC? I've > > > > searched the net, but can't seem to find any > > > example > > > > source code. > > > > > > > > --Nick > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Make international calls for as low as > > $.04/minute > > > with Yahoo! Messenger > > > > http://phonecard.yahoo.com/ > > > > > > > > -- > > > > http://www.piclist.com#nomail Going offline? > > Don't > > > AutoReply us! > > > > email listserv@mitvma.mit.edu with SET PICList > > > DIGEST in the body > > > > > > > > > > > > > > -- > > > http://www.piclist.com#nomail Going offline? > Don't > > > AutoReply us! > > > email listserv@mitvma.mit.edu with SET PICList > > > DIGEST in the body > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Make international calls for as low as $.04/minute > > with Yahoo! Messenger > > http://phonecard.yahoo.com/ > > > > -- > > http://www.piclist.com#nomail Going offline? Don't > > AutoReply us! > > email listserv@mitvma.mit.edu with SET PICList > > DIGEST in the body > > > > -- > > http://www.piclist.com#nomail Going offline? Don't > > AutoReply us! > > email listserv@mitvma.mit.edu with SET PICList > > DIGEST in the body > > > > > > > __________________________________________________ > Do You Yahoo!? > Make international calls for as low as $.04/minute > with Yahoo! Messenger > http://phonecard.yahoo.com/ > > -- > http://www.piclist.com#nomail Going offline? Don't > AutoReply us! > email listserv@mitvma.mit.edu with SET PICList > DIGEST in the body > > -- > http://www.piclist.com hint: The list server can > filter out subtopics > (like ads or off topics) for you. See > http://www.piclist.com/#topics > > __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics