代码搜索结果
找到约 1,533 项符合
Speaker 的代码
two_gent.xml
The Two Gentlemen of Verona
Text placed in the public domain by Moby Lexical Tools, 1992.
SGML markup by
rich_iii.xml
The Tragedy of Richard the Third
Text placed in the public domain by Moby Lexical Tools, 1992.
SGML marku
speaker.c
/****************************************************************************/
/*
文 件 名: DS18B20.c
说 明: DS18B20驱动程序,
作 者: 郭天祥
日 期: 2008.9
*/
/****************************
key.c
#include "..\inc\key.h"
#include "..\inc\led.h"
#include "..\inc\speaker.h"
/*
4X4键盘的扫描
*/
U16 Scan_4X4Key(void)
{
U16 keytmp=0;
rPDATG=0xef; //第一列
if((rPDATF&0x1e0)!=0x1e0)
{
keyt
text1.lst
C51 COMPILER V8.02 TEXT1 02/25/2009 13:40:40 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE TEXT1
OBJECT MODULE PLACED IN T
text1.c
#include
#include
unsigned char code tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0xf82,0xf8,0x80,0x90};
int keyval;
sfr key=0xB0;
sbit s4=P3^3;
sbit s3=P3^4;
sbit s2=P3^5;
sbit s1=
主函数.c
#include"160128_driver.h"
#include"at89x51.h"
#include"key.h"
//全局变量定义
sbit Speaker=P3^1;
bit F=0;//读时间标志
unsigned int Time=0;//时间记录寄存器
unsigned char Count=0,Counts=0; //计数标志寄存器
//延时10ms子程序
蜂鸣器.c
/*copyright 2007,ShangHai HaoTun Electronic Technology co.,Ltd
*
*This sample is used for Speaker.
*
*write by Shifang 2007-4-23
*
*V1.1
*/
#include
sbit SPK=P1^2;//定义
speaker.h
#ifndef __SPEAKER_H_
#define __SPEAKER_H_
#include "..\inc\sysUtils.h"
#include "..\inc\uTypes.h"
#include "..\inc\44b0x.h"
void Test_Speaker(void);
void Set_Speaker(void);
void Clr_Speaker