-
-
...bsp;
{
static int num=0;
static int i=0;
TH0=(65536-500)/256; //5ms刷新一次
TL0=(65536-500)%256;
display(); // 中断刷新数码管
i++;
num++;
if(num>=10)
{
num=0;
UpdateTimeFla...
-
-
...close('all');format compact;%% set the Co-Blade versionSIM.version = '1.20.00-dcs';%% add paths to the source codeSIM.rootDir = pwd; SIM.sourceDir = [SIM.rootDir filesep 'Source'];SIM.airfoilDir = [SIM.rootDir filesep 'Airfoil_Data'];SIM.materialDir = [SIM.r...
-
-
...p; term = term.replace('?', '')
term = term.replace('%', '/100.00')
term = term.replace('rad', 'radians')
term = term.replace('mod', '%')
term = term.replace('aval', 'abs')
functions = ['sin', 'cos', 'tan', 'pow', 'cosh', '...
-
-
...36)SendIRdata(0x1b);//→ M+
if(key==32)SendIRdata(0x00);//0
if(key==22)SendIRdata(0x01);//1
if(key==23)SendIRdata(0x02);//2
if(key==24)SendIRdata(0x03);//3
if(key==12)SendIRdata(0x04);//4...
-
-
...20},4,20,1};
time now={11,8,10};
void main()
{
TMOD=0x01;
TL0=(65536-1000)%256;
TH0=(65536-1000)/256;
IE=0x82; //EA=1;ET0=1总中断允许和定时器中断允许
TCON=0x10; //定时器启动计数
while(1)
{
P1=0xff;
shuju=P1&0xff;
qxiang=shuju&a...
-
-
...nsigned char
#define LCD_DATA_BUS (*((volatile Uint16 *)0x4000))
#define EN GpioDataRegs.GPBDAT.bit.GPIO54
#define RW GpioDataRegs.GPBDAT.bit.GPIO56
#define RS GpioDataRegs.GPBDAT.bit.GPIO57
/*
unsigned char const table[]={//共阴极0~f数码...
-
-
单片机设计2008奥运会单片机设计2008奥运会/***************************************
名称:2008奥运会倒计时
***************************************/
#include<reg51.h>
#include<absacc.h>
#include<intrins.h>
#include "delay.h"
#define clock_segment XBYTE[0xB...
-
-
...Food
<input type="radio" value="1" name="foodstatus"> With Food(Rs 2000.00 Per Month Extra)
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Stay From</label>
<div class="col-sm-8">
<input type="date" name="stayf" ...
-
-
...nbsp; 2'b00: // One-Shot Mode
begin
&...