Subversion Repositories Projects

Rev

Rev 962 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 962 Rev 1117
Line 276... Line 276...
276
/*                                                                                                                        */
276
/*                                                                                                                        */
277
/**************************************************************/
277
/**************************************************************/
Line 278... Line 278...
278
 
278
 
279
void Beep(uint8_t time)
279
void Beep(uint8_t time)
280
{
280
{
281
  PINB |= (1<<BEEPER);
-
 
282
  PINB &= ~(1<<BEEPER);
281
  PORTB |= (1<<BEEPER);
283
  _delay_ms(time);
-
 
284
  PINB |= (1<<BEEPER);
282
  _delay_ms(time);
285
  PINB &= ~(1<<BEEPER);
283
  PORTB &= ~(1<<BEEPER);
Line 286... Line 284...
286
}
284
}
287
 
285
 
288
void Double_Beep(uint8_t time, uint8_t pause)
286
void Double_Beep(uint8_t time, uint8_t pause)