No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

common.h 306B

1234567891011
  1. #ifndef _COMMON_H_
  2. #define _COMMON_H_
  3. #define CLEAR_STORE_INTERRUPTS() uint8_t prev_int_reg = SREG; cli()
  4. #define RESTORE_INTERRUPTS() SREG = prev_int_reg
  5. void async_beep(int time, int freq);
  6. void blocking_beep(int time, int freq, int repeat = 0);
  7. void common_run(unsigned long t);
  8. #endif // _COMMON_H_