Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/24/02 14:53
Read: times


 
#24806 - RE: timer2 output?
void InitSpeaker( void )
{
T2CON = 0; // T2 off
T2MOD = T2MOD_T2OE_; // Clock out
SPEAKER = SPEAKER_OFF;
RCAP2W = -(XTAL / 2.0 / SPEAKER_FREQUENCY + 0.5);
}

#define SpeakerOn() (TR2 = 1)
#define SpeakerOff InitSpeaker

List of 4 messages in thread
TopicAuthorDate
timer2 output?            01/01/70 00:00      
RE: timer2 output?            01/01/70 00:00      
RE: timer2 output?            01/01/70 00:00      
RE: timer2 output?            01/01/70 00:00      

Back to Subject List