keychron_qmk_firmware/keyboard/preonic/beeps.h

12 lines
288 B
C
Raw Normal View History

2015-08-21 20:46:53 +06:00
#include <stdint.h>
#include <stdbool.h>
#include <avr/io.h>
#include <util/delay.h>
void note(int x, float length);
void beeps();
void true_note(float x, float y, float length);
2015-10-22 23:37:45 +06:00
void play_note(double freq, int vol);
void stop_note(double freq);
void stop_all_notes();
void init_notes();