beeps.h 289 B

123456789101112
  1. #include <stdint.h>
  2. #include <stdbool.h>
  3. #include <avr/io.h>
  4. #include <util/delay.h>
  5. void note(int x, float length);
  6. void beeps();
  7. void true_note(float x, float y, float length);
  8. void play_note(double freq, int vol);
  9. void stop_note(double freq);
  10. void stop_all_notes();
  11. void init_notes();