📄 rfid_sound.h
字号:
// $Id: rfid_Sound.h,v 1.1 2006/09/25 22:08:15 tprescott Exp $
/*****************************************************
Project : rfid_Sound.h
Date : 9/08/2006
Author : Toby Prescott
Company : Atmel
Comments: AVR Studio GCC
Revisions:
v1.0 - Started written for CodeVision
v2.6 - Clean for WinAVR
*****************************************************/
#ifndef RFIDSOUND_H__
#define RFIDSOUND_H__
// List your includes
#include <avr/io.h>
#include <avr/eeprom.h>
// Declare your global function prototypes here
void snd_Play(unsigned char sFreq1, unsigned char sFreq0, unsigned char sTimeLength);
// Declare your global variables (extern) here
extern unsigned char soundState;
// Declare your global definitions here
#define BEEPFREQ1 20
#define BEEPFREQ0 20
#define BEEPTIME 40
#define BUZZFREQ1 60
#define BUZZFREQ0 60
#define BUZZTIME 20
/*---------------------------------------------------------------------------*/
#endif // RFIDSOUND_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -