At 03:48 PM 2/27/97 -0600, Scott Horton wrote: >David: > >Thanks for the suggestion. Forgive my lack of understanding of speaker >electronics but I don't understand a couple of things...maybe you can >help. > >Your Suggested pseudo-code: >>>Beep >>> Turn_On_Speaker_Bit >>> Delay >>> Turn_Off_Speaker_Bit >>> Delay >>> Goto Beep I actually >NEED to use a small headphone. The reason for this is that I need a user >to audibly detect an discreet event being monitored by my PIC. >Using you suggestion, how do I adjust volume, and tone on a set of >headphone speaker(s)? Change the loop to have on and off with two delays, ie delay1 and delay2. Have power flow thru the headphones for a shorter time than the current is off and the volume will go down. This is what PWM is all about. Larry Larry G. Nelson Sr. L.Nelson@ieee.org http://www.ultranet.com/~nr