cancel
Showing results for 
Search instead for 
Did you mean: 

beeper again

carnett1
Associate II
Posted on November 12, 2010 at 20:36

I am suing hyperterminal.c and beep.co and I set AFR7 to alternate = beep.  The problem is when I turn the beeper on at 2Khz I do not get anything on PD4.  Should I  deinitialize Timer 2?  I tried but there is no prototype.

charles

1 REPLY 1
saranyim
Associate II
Posted on March 14, 2011 at 09:26

try this in your code

BEEP_Init(BEEP_FREQUENCY_2KHZ);

BEEP_Cmd(ENABLE);