X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=blobdiff_plain;f=main.h;h=9ba70de77b9d7ee71171626507f49612d352c9de;hp=87070a30029364180e19018399f4bdda50718971;hb=f74db5fd03bcd38af3ca533e7531dd70454dfaaf;hpb=2710a676cfb8d84c4e4de9d4e0ba2e8f3b553120 diff --git a/main.h b/main.h index 87070a3..9ba70de 100644 --- a/main.h +++ b/main.h @@ -64,9 +64,13 @@ extern volatile uint16_t global_ms; #define LED3_ON() sbi(PORTA, 0) #define LED3_OFF() cbi(PORTA, 0) +#define BUZZER_ON() sbi(PORTA, 4) +#define BUZZER_OFF() cbi(PORTA, 4) + /* highest priority */ #define LED_PRIO 170 #define TIME_PRIO 160 +#define BEEP_PRIO 130 #define SPI_PRIO 100 /* users of spi_servo must have lower prio */ /* lowest priority */