CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - INT 1
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - INT 1 - List
[
SCM
]
st7565s12864.rar
DL : 0
/ 函数: void LCD_DataWrite(unsigned int Data) // 描述: 写一个字节的显示数据至LCD中的显示缓冲RAM当中 // 参数: Data 写入的数据 // 返回: 无 // 备注: 无 // 版本: // 2007/01/09 First version //============================================================== void LCD_DataWrite(unsigned char Dat)//,_Fill_Dot_LCD { unsigned char Num; LCD_CS = 0; LCD_A0 = 1; for(Num=0;Num<8;Num++) { if((Dat&0x80) == 0) LCD_SDI = 0; else LCD_SDI = 1; Dat = Dat << 1; LCD_CLK = 0; LCD_CLK = 1; } LCD_CS = 1; } //========================================================== // 函数: void LCD_RegWrite(unsigned char Command) // 描述: 写一个字节的数据至LCD中的控制寄存器当中 // 参数: Command 写入的数据,低八位有效(byte) // 返回: 无 // 备注: // 版本: // 2007/01/09 First version //=============================================================== void LCD_RegWrite(unsigned char Command) { unsigned char Num; LCD_CS = 0; LCD_A0 = 0; for(Num=0;Num<8;Num++) { if((Command&0x80) == 0) LCD_SDI = 0; else LCD_SDI = 1; Command = Command << 1; LCD_CLK = 0; LCD_CLK = 1; } LCD_CS = 1; }
Date
: 2010-12-07
Size
: 3.28kb
User
:
dpy18@163.com
[
SCM
]
ljpcheng
DL : 0
sbit k=P0^0; //P0.0控制智能开关的开关,K=0时开关闭和小灯亮,K=1时开关开启,小灯 sbit flag=P0^7; //定义发送标志位,flag=1时,下位机开始发送,flag=0时,不可发送 int H_0=(65536-3334)/256; //声明T0的高8位 int L_0=(65536-3334)%256; //声明T0的低8位 uchar data rxbuf[8]; //定义接收数组
Date
: 2011-05-18
Size
: 5.82kb
User
:
154615473@qq.com
[
SCM
]
DS18B20+1602液晶高精度温度计
DL : 0
DS18B20+液晶1602构成的高精度温度计 ;连线图: ; DB0---DPROT.0 DB4---DPROT.4 RS-------------P1.2 ; DB1---DPROT.1 DB5---DPROT.5 RW-------------P1.3 ; DB2---DPROT.2 DB6---DPROT.6 E--------------P1.4 ; DB3---DPROT.3 DB7---DPROT.7 VLCD接10K可调电阻到GND* DQ----P1.1 ;功能说明:1602液晶显示温度程序,正负温度自动转换。 温度测量范围:-55℃~125℃; 温度测量精度:0.0625℃ 显示精度: 0.0625 #include "reg52.h"//头文件 #include "intrins.h" #define uchar unsigned char//宏定义 #define uint unsigned int//宏定义
Date
: 2011-08-31
Size
: 71kb
User
:
klovesq
[
SCM
]
Touch8x10D(INT)
DL : 0
这是一个D系列触摸屏程序,这个是TOUCH 8x10D(INT)产品的程序-This is a D series of touch-screen procedures, this is the TOUCH 8x10D (INT) products, procedures
Date
: 2026-01-07
Size
: 2kb
User
:
shidi wong
[
SCM
]
Touch15x20D(INT)
DL : 0
这是一个D系列触摸屏程序,这是一个型号为Touch15x20D(INT)型号的程序-This is a D series of touch-screen process, which is a model Touch15x20D (INT) model of process
Date
: 2026-01-07
Size
: 2kb
User
:
shidi wong
[
SCM
]
INT01
DL : 0
51单片机 P1口的8个灯循环亮,按P32后全部闪烁5次后继续循环亮, 中断程序的典型应用。 -51 Singlechip P1 population cycle of eight bright lights, according to P32, after all the flashes 5 times after the light cycle, disruption of the typical application process.
Date
: 2026-01-07
Size
: 1kb
User
:
cc
[
SCM
]
Touch8x10D(INT)
DL : 0
240X160触摸屏控制源程序,适用于液晶型号为8X10D-240x160 touch screen to control the source code, apply to LCD models 8X10D
Date
: 2026-01-07
Size
: 2kb
User
:
yangping
[
SCM
]
CircleMenu
DL : 0
public class CircleMenuCanvas extends Canvas implements Runnable{ double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage[] = new Image[6] int []jiaodu = {330,30,90,150,210,270} String menuName[] = {"新游戏","继续游戏","游戏设置","高分榜","游戏帮助","退出游戏"} int x = getWidth()/2 int y = getHeight()/2 int count = 0 int local int index = 0 Font f boolean running = false /** * 构造方法 * */-public class CircleMenuCanvas extends Canvas implements Runnable (double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage [] = new Image [6] int [] jiaodu = (330,30,90150210270) String menuName [] = (
Date
: 2026-01-07
Size
: 18kb
User
:
么么
[
SCM
]
int
DL : 0
该软件可以初始化,单片机的中断系统,使计算机进入中断状态。-INT
Date
: 2026-01-07
Size
: 7kb
User
:
刘乐
[
SCM
]
c8051F000
DL : 0
C8051F005,大家都知道了,号称最牛的单片机,C8051F00X的初始化代码,我在C8051F005上使用的。-C8051F005 int
Date
: 2026-01-07
Size
: 2kb
User
:
罗名
[
SCM
]
theInsurancedatabase
DL : 0
an insurance database with PERSON (driver-id:string,name:string,address:string) CAR (Regno:string,model:string,year:int) ACCIDENT (report-number:int,date:date,location:string) OWNS (driver-id:string,regno:string) PARTICIPATED (driver-id:string,regno:string,report-number:int,damage-amount:int)
Date
: 2026-01-07
Size
: 14kb
User
:
arun.n
[
SCM
]
int
DL : 0
用于单片机做中断实验的源代码,适合初步学习8051单片机且用汇编语言的-Boolean variable instruction
Date
: 2026-01-07
Size
: 1kb
User
:
香满路
[
SCM
]
110316
DL : 0
简单16位汇编,通过int 21h的中断调用,进行文件读取,并写入到其他文件。-Simple 16-bit assembly, through the int 21h interrupt call, the file read and write to other files.
Date
: 2026-01-07
Size
: 1kb
User
:
q
[
SCM
]
110312
DL : 0
简单16位汇编,通过调用int 10在屏幕上显示文字,文字能自行移动,且能变换颜色-Simple 16-bit compilation, by calling int 10 display text on the screen, the text moves on their own, and can change the color
Date
: 2026-01-07
Size
: 1kb
User
:
q
[
SCM
]
Cont-AcqaGraph-Voltage-Int-Clk
DL : 0
基于labview和NI的采集卡实现信号的连续采集,可自己选择物理通道,并设置采样率等-Based on the acquisition card labview and NI realize the continuous collection, can signal physical channel, and their choice set sampling rate, etc
Date
: 2026-01-07
Size
: 15kb
User
:
大军
[
SCM
]
c
DL : 0
//-----湿度读取子程序 --- --- //--- --- --- --- --- -- //----以下变量均为全局变量-------- //----温度高8位== U8T_data_H------ //----温度低8位== U8T_data_L------ //----湿度高8位== U8RH_data_H----- //----湿度低8位== U8RH_data_L----- //----校验 8位 == U8checkdata----- //----调用相关子程序如下---------- //---- Delay() , Delay_10us() ,COM() //-------------------------------- #include <reg51.h> #include <intrins.h> #include <stdio.h> typedef unsigned char U8 /* defined for unsigned 8-bits integer variable 无符号8位整型变量 */ typedef signed char S8 /* defined for signed 8-bits integer variable 有符号8位整型变量 */ typedef unsigned int U16 /* defined for unsigned 16-bits integer variable 无符号16位整型变量 */ typedef signed int S16 /* defined for signed 16-bits integer variable 有符号16位整型变量 */ typedef unsigned long U32 /* defined for unsigned 32-bits integer variable 无符号32位整型变-for c
Date
: 2026-01-07
Size
: 25kb
User
:
梅春意
[
SCM
]
MyString
DL : 0
Define MyString class with demands as follows: 0. You CAN NOT use string in the program. 1. MyString can save any string 2. Overload operator + to append string to another one, such as: MyString S1, S2, S3 S1 = S2 + S3 3. Define Find function to locate the position of searching substring, such as: MyString S("Hello,world!") int x = S.Find("world") So x is assigned by 6. 4. Define Mid function to get substring from one string, such as: MyString S("Hello,world") MyString Sub Sub = S.Substring(0, 5) // 0 means start position, 5 means substring s length. So Sub is saved as "Hello". 5. The client can use MyString you define like as in the main: void main() { MyString S1("Hello"), S2("world"), S3 S3 = S1 + S2 cout << S3 << endl }-Define MyString class with demands as follows: 0. You CAN NOT use string in the program. 1. MyString can save any string 2. Overload operator+ to append string to another one, such as: MyString S1, S2, S3 S1 = S2+ S3 3. Define Find function to locate the position of searching substring, such as: MyString S("Hello,world!") int x = S.Find("world") So x is assigned by 6. 4. Define Mid function to get substring from one string, such as: MyString S("Hello,world") MyString Sub Sub = S.Substring(0, 5) // 0 means start position, 5 means substring s length. So Sub is saved as "Hello". 5. The client can use MyString you define like as in the main: void main() { MyString S1("Hello"), S2("world"), S3 S3 = S1+ S2 cout << S3 << endl }
Date
: 2026-01-07
Size
: 241kb
User
:
weiqi
[
SCM
]
sizeof
DL : 0
C++内置类型的大小,包括:int float double-C++ Built-in type size, including: int float double
Date
: 2026-01-07
Size
: 6kb
User
:
zhonga795u173
[
SCM
]
bit-to-int
DL : 0
关于位域的赋值问题,把位域赋值给整数。对嵌入式的朋友可以参考-On the assignment problem of a bit field, the bit field is assigned to an integer. Embedded friends can refer to
Date
: 2026-01-07
Size
: 127kb
User
:
yueyun
[
SCM
]
INT BEEP.X
DL : 0
在16F877A芯片上,用外部中断实现蜂鸣器明叫,可以改变成以外部中断实现其他功能(On the 16F877A chip, we use external interrupt to make buzzer call, which can be changed to other functions by external interrupt.)
Date
: 2026-01-07
Size
: 70kb
User
:
Ron_chan
«
1
2
3
4
5
6
7
8
9
10
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.