Rev 1069 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1069 | Rev 1088 | ||
---|---|---|---|
Line 286... | Line 286... | ||
286 | /* */ |
286 | /* */ |
287 | /**************************************************************/ |
287 | /**************************************************************/ |
Line 288... | Line 288... | ||
288 | 288 | ||
289 | void Beep(uint8_t time) |
289 | void Beep(uint8_t time) |
290 | { |
290 | { |
291 | PINB |= (1<<BEEPER); |
- | |
292 | PINB &= ~(1<<BEEPER); |
291 | PORTB |= (1<<BEEPER); |
293 | _delay_ms(time); |
- | |
294 | PINB |= (1<<BEEPER); |
292 | _delay_ms(time); |
295 | PINB &= ~(1<<BEEPER); |
293 | PORTB &= ~(1<<BEEPER); |
Line 296... | Line 294... | ||
296 | } |
294 | } |
297 | 295 | ||
298 | void Double_Beep(uint8_t time, uint8_t pause) |
296 | void Double_Beep(uint8_t time, uint8_t pause) |