-
-
...****/
void EXINT0(void)interrupt 0 using 1
{
EX0=0; //关中断
if(Add_Button==0) //时间加
{
EW1+=5;
SN1+=5;
if(EW1&...
-
-
...击下方链接下载附件。<?php session_start(); ?>
<?php
if(isset($_SESSION['name']))
{
include('dbconnection.php');
if(isset($_POST['sbt']))
{
$qry=mysql_query(" select password...
-
-
....h>
#include <asm/uaccess.h>
#include "ldd.h"
#include "globalfifo.h"
static int globalfifo_major = GLOBALFIFO_MAJOR;
static struct globalfifo_dev *globalfifo_devp;
static int globalfifo_open(struct inode *inodep, struct file *filp)
{
filp->private_data = conta...
-
-
...; for blob in blobs: if blob[2]*blob[3] > max_size: max_blob=blob max_size = blob[2]*blob[3] &...
-
-
...******/
void WriteCommandLCM(uchar WCLCM,uchar BusyC)
{
if(BusyC)lcd_wait();
DATAPORT=WCLCM;
LCM_RS=0; // 选中指令寄存器
LCM_RW=0; &n...
-
-
... cout << s[i]; if((l-1-i)%3==0&&(l-1-i)!=0&&s[i]!='-') cout << ','; } return 0;}#include<iostream>#include<iomanip>using namespace std;int main(){ doubl...
-
-
...置函数
TL0 = (65536-2000)%256; //TL0重置函数
cp1++;
if(cp1>=500) //1秒
{
cp1 = 0;
temp_num = Read_Temperature(); //将读取到的温度赋值给temp_num
temp_dot = c * 0.625; //得到温度的小数
if((temp_num&0x80)=...
-
-
... TL0 = (65536 - 2000) % 256; //TL0重置函数
cp1++;
if(cp1 >= 250) //0.5秒
{
cp1 = 0;
flash = ~flash; //产生闪烁变量
cp2++;
if(cp2 >= 5)
{
cp2 = 0;
conv = ~conv; //产生交替显示变量 ...
-
-
...;
LM=1;//左右两个电机同时启动,直线前进
while(1)
{
if((R==1)&&(M==1)&&(L==0))//小车右偏
{
RM=1;
LM=0;//左边的电机停止转动,右边的电机转动,这样就实现了左转
}
if((R==0)&&(M==1)&&(L==1))//小...
-
-
... (chnlInst0[i]).TCAR.phs += (chnlInst0[i]).TCAR.fcw; if ((chnlInst0[i]).TCAR.phs >= NCOTOTAL) (chnlInst0[i]).TCAR.phs -= NCOTOTAL; (chnlInst0[i]).TPRN.phs += (chnlInst0[i]).TPRN.fcw; if ((chnlInst0[i]).TPRN.phs >= N...