I agree completely! The PICLIST is such a great tool for keeping me humble. James Newton, webmaster http://get.to/techref jamesnewton@geocities.com 1-619-652-0593 phone -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Alice Campbell Sent: Thursday, July 22, 1999 1:08 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: test code to PIC16F84-20Mhz ? i find making dumb mistakes like that in front of a worldwide audience much more efficient than limiting them to my home, work, and commute. alice > I don't think I, for one, can HEAR at 40kHz, Alice (An OScope would see > the signal, of course.) Zeuss can hear that, probably, and he'd howl & > bark in pain I'd suggest starting with an 800Hz tone, that jumped > to 2kHz, that sounds a LOT more audible to me > > Mark > > Alice Campbell wrote: > > > > test program and circuit: > > > > just write a simple delay loop that reduces 4mhz (effective > > instruction rate 1 mhz) to about 8khz. put a piezo buzzer at port > > b1. toggle b1 at 8khz. replace crystal with 20khz. the low tone at > > 8 khz should jump to a high tone at 40 khz. No sound will come out > > if it doesnt work. > > > > alice > > > > , > > > >Please do anyone have a test code with simple circuit > > > >for pic16f84 20mhz ? > > > pic pin b3--------------+(||)-------------------------------ground (piezo buzzer) or pic pin b2--------------|<----------------------------------ground (led)