上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: #include<reg52.h> #define uint unsigned int #define uchar unsigned char sbit key1=P3^2; typedef enum keystate{initstate,affirmstate,singlestate,repeat 阅读全文
posted @ 2016-02-23 13:36 luxiaolai 阅读(378) 评论(0) 推荐(0) 编辑
摘要: #include "DSP28x_Project.h"// Device Headerfile and Examples Include File interrupt void scibTxFifoIsr(void);//fifo发送中断函数 interrupt void scibRxFifoIsr 阅读全文
posted @ 2016-01-31 21:02 luxiaolai 阅读(7862) 评论(1) 推荐(0) 编辑
摘要: #include "DSP2833x_Device.h" // DSP2833x Headerfile Include File #include "DSP2833x_Examples.h" // DSP2833x Examples Include File void Init_Gpio(void) 阅读全文
posted @ 2016-01-31 20:57 luxiaolai 阅读(2151) 评论(0) 推荐(0) 编辑
摘要: Matlab/Simulink:添加自定义库到 Simulink Library Browser 分类: 步骤: 1、创建自定义库。在 Simulink Library Browser 窗口中,选择菜单 File | New -> Library,加入所需的常用模块,并保存(例如:mySimLib. 阅读全文
posted @ 2016-01-28 17:02 luxiaolai 阅读(2037) 评论(0) 推荐(0) 编辑
摘要: Makefile文件中增加obj-$(CONFIG_MINI2440_LED) += micro2440_leds.o在相应目录下的konfig文件中加入: 点击(此处)折叠或打开config MINI2440_LEDtristate "LED driver for FriendlyARM Mini... 阅读全文
posted @ 2016-01-05 16:40 luxiaolai 阅读(367) 评论(0) 推荐(0) 编辑
摘要: QTableWidgetSelectionRange list=QTableWidgetSelectionRange(1,0,2,2);// ui->tableWidget->selectAll(); // QTableWidgetSelectionRangerange(0,0,rowCou... 阅读全文
posted @ 2015-12-28 15:15 luxiaolai 阅读(768) 评论(0) 推荐(0) 编辑
摘要: package com.example.webview1;import android.os.Bundle; import android.app.Activity; import android.view.KeyEvent; import android.view.Menu; import and... 阅读全文
posted @ 2015-12-22 15:44 luxiaolai 阅读(325) 评论(0) 推荐(0) 编辑
摘要: package com.example.butclicktest;import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.view.View; import and... 阅读全文
posted @ 2015-12-22 15:41 luxiaolai 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 非阻塞延时:void GreenPass3::delaymsec(int msec) { QTime dieTime = QTime::currentTime().addMSecs(msec); while( QTime::currentTime() < dieTime ) QCoreApplic... 阅读全文
posted @ 2015-12-21 14:42 luxiaolai 阅读(1778) 评论(0) 推荐(0) 编辑
摘要: QTime aaa=QTime::currentTime(); qDebug(QString::number(aaa.msec()).toAscii()); 阅读全文
posted @ 2015-12-15 14:12 luxiaolai 阅读(1055) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页