rfid_sound.h

来自「找的一个用U2270B开发的射频卡项目文件」· C头文件 代码 · 共 37 行

H
37
字号
// $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 + =
减小字号Ctrl + -
显示快捷键?