X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=blobdiff_plain;f=main.h;h=9ba70de77b9d7ee71171626507f49612d352c9de;hp=87070a30029364180e19018399f4bdda50718971;hb=9a43add2f0ed382ce1f180bba65fdc077d03b6fb;hpb=8315b52a0e503089149fce525cbe78c007ff429d 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 */