搜索结果
找到约 35 项符合
0x00 的查询结果
按分类筛选
单片机编程 24c16读写驱动程序
24c16读写驱动程序,//=-------------------------------------------------------------------------------/*模块调用:读数据:read(unsigned int address)写数据:write(unsigned int address,unsigned char dd)   dd为要写的 数据字节*///-------------------------------------------------------------------- ...
单片机编程 16 16点阵显示汉字原理及显示程序
16 16点阵显示汉字原理及显示程序
#include "config.h"
#define                DOTLED_LINE_PORT        PORTB #define            &nbs ...
C/C++语言编程 飞思卡尔智能车的舵机测试程序
飞思卡尔智能车的舵机测试程序
#include <hidef.h>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* common defines and macros */#include <MC9S12XS128.h>&nbsp;&nbsp;&nbsp;&nbsp; /* derivative information */#pragma LINK_INFO DERIVATIVE "mc9s12xs128"
void SetBusCLK_16M(void)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ...
单片机开发 c8051f020 实时时钟模块程序 内含IIC模块程序/********************** SYSTEM CLOCK 8M********************************/
c8051f020 实时时钟模块程序 内含IIC模块程序/********************** SYSTEM CLOCK 8M********************************/
extern unsigned char xdata currenttime[16]={0}
extern unsigned char xdata settime[16]={
0x00, // control regesiter 1
0x00, // control regesiter 2
0x01, / ...
VC书籍 C语言库函数速查[CHM文档]是一个很好的C语言函数查询器.属于CHM文档. iscntrl 原型:extern int iscntrl(int c) 用法:#include
C语言库函数速查[CHM文档]是一个很好的C语言函数查询器.属于CHM文档.
iscntrl
原型:extern int iscntrl(int c)
用法:#include <ctype.h>
功能:判断字符c是否为控制字符
说明:当c在0x00-0x1F之间或等于0x7F(DEL)时,返回非零值,否则返回零。 ...
Windows CE DA 输出地址0x20400000 由于DAC0832要求输出锁存保持1uS左右 但CPU在读写(对应nGCS4)写信号最大只能到100ns左右 所以外面加了一个地址锁存74573
DA 输出地址0x20400000
由于DAC0832要求输出锁存保持1uS左右
但CPU在读写(对应nGCS4)写信号最大只能到100ns左右
所以外面加了一个地址锁存74573,573锁存下降沿有效(现在是上升沿有效,也可用)
现在电阻不变的情况下,输出0x00,DA输出0V,输出0xff,DA输出1.7V左右 ...
Java编程 CRC16算法的Java实现
CRC16算法的Java实现,使用方法如下:
CRC16 crc16 = new CRC16()
byte[] b = new byte[] {
// (byte) 0xF0,(byte)0xF0,(byte)0xF0,(byte)0x72
(byte) 0x2C, (byte) 0x00, (byte) 0xFF, (byte) 0xFE,
(byte) 0xFE, (byte) 0x04, (byte) 0x00, (byte) 0x00,
(byte) 0x00, (byte) 0x00 }
for (int k = ...
单片机开发 51单片连tcs230的源程序
51单片连tcs230的源程序,绝对原创,可以记忆颜色。
#define uchar unsigned char
#include <reg52.h>
#include<math.h>
sbit S0=P1^7
sbit S1=P1^0 //端口定义
sbit S2=P1^1
sbit S3=P1^2
sbit OE=P1^3
sbit OUT=P3^4 //频率从TO口输入
sbit key0=P1^5
sbit LED=P1^6
sbit a=P3^0
sbit b=P3^1
uchar color //1: ...
单片机开发 CAN1.c and CAN2.c are a simple example of configuring a CAN network to transmit and receive data o
CAN1.c and CAN2.c are a simple example of configuring a CAN network to
transmit and receive data on a CAN network, and how to move information to
and from CAN RAM message objects. Each C8051F040-TB CAN node is configured
to send a message when it s P3.7 button is depressed/released, with a 0x11
...
单片机开发 VB遥控播放器红外遥控解码 #include <regX52.h> #define c(x) (x*110592/120000) sbit Ir_Pin=P3^2 sb
VB遥控播放器红外遥控解码
#include <regX52.h>
#define c(x) (x*110592/120000)
sbit Ir_Pin=P3^2
sbit beep=P2^1
//sbit RELAY=P2^0
#define INBUF_LEN 4 //数据长度
unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 } //发送缓冲区
unsigned char inbuf2[50] //接收缓冲区
unsigned char count3
void init_s ...