搜索结果

找到约 416 项符合 char 的查询结果

嵌入式/单片机编程 #include <reg52.h> #include <stdio.h> #include <string.h> #define uchar unsigne

#include <reg52.h> #include <stdio.h> #include <string.h> #define uchar unsigned char #define uint unsigned int #define isp_iap_byte_read 0x1 #define isp_iap_byte_program 0x2 #define isp_iap_sector_erase 0x3 #define wait_time 0x1
https://www.eeworm.com/dl/647/297444.html
下载: 93
查看: 1163

单片机开发 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, / ...
https://www.eeworm.com/dl/648/169830.html
下载: 25
查看: 1107

Ajax [解决方法] 对上述程序改动如下: 发送端: MMM SendBag ZeroMemory(&SendBag,sizeof(SendBag)) .............

[解决方法] 对上述程序改动如下: 发送端: MMM SendBag ZeroMemory(&SendBag,sizeof(SendBag)) ............. int send = 0 while(send<sizeof(MMM)) { int nCharSend=send(m_hSocket,(char*)(&SendBag+send),sizeof(MMM)-send,0) send+=nCharSend } 接收端: MMM RecvBag ZeroMemory(&RecvBag ...
https://www.eeworm.com/dl/702/386787.html
下载: 182
查看: 1044

单片机编程 51单片机驱动步进电机(含电路图和C语言源程序代码)

51单片机驱动步进电机(含电路图和源程序代码) 源程序:stepper.c stepper.hex /* * STEPPER.C * sweeping stepper's rotor cw and cww 400 steps * Copyright (c) 1999 by W.Sirichote */ #i nclude c:\mc5151io.h /* include i/o header file */ #i nclude c:\mc5151reg.h register unsigned char j,flag1,temp; registe ...
https://www.eeworm.com/dl/502/31601.html
下载: 200
查看: 1211

单片机开发 基于单片机的10根线束线缆检测器的源程序 #pragma sfr #pragma DI #pragma EI #pragma NOP //#pragma interrupt INTTM010

基于单片机的10根线束线缆检测器的源程序 #pragma sfr #pragma DI #pragma EI #pragma NOP //#pragma interrupt INTTM010 isr_INTTM000 #pragma interrupt INTTM80 isr_INTTM80 //#pragma interrupt INTTMH1 isr_INTTMH1 #pragma section @@CNST OPT AT 80H const char OPTION=0x94 typedef unsigned char uchar t ...
https://www.eeworm.com/dl/648/444640.html
下载: 41
查看: 1209

游戏 五子棋小游戏#include<stdlib.h> #include<time.h> #include<stdio.h> #include<conio.h

五子棋小游戏#include<stdlib.h> #include<time.h> #include<stdio.h> #include<conio.h> int chess[169]={0} /*棋盘*/ struct chess_t/*作为辅助,即是作为建意*/ { char attack /*攻防用的,0表示守,1表示攻*/ int j /*作为优先级用*/ }chess_a[169] ...
https://www.eeworm.com/dl/625/297545.html
下载: 148
查看: 1235

编译器/解释器 编译原理词法和语法分析

编译原理词法和语法分析,体内容是产生一个二元式文本文件,扩展名为dyd,可将Pascal程序(测试程序)分解成为一个一个的单词,并查“单词符号与种别对照表”得出其种别,用一数字表示,范围1-56(52-56分别对应保留字integer、real、boolean、char)。 ...
https://www.eeworm.com/dl/628/213063.html
下载: 131
查看: 1050

技术资料 车牌文字识别

车牌识别软件需要车牌的字体信息。 作者根据《GA36-2007中华人民共和国机动车号牌》 编写了车牌字体模块。 整个模块只有一个入口函数: bool LPRFontGet(char character,int x,int y) 在本文稍后的代码中前半部分就是这个函数的实现。 后半部分是使用这个函数的一个例子。 ...
https://www.eeworm.com/dl/999587.html
下载: 1
查看: 72

单片机编程 单片机C语言(for)延时计算

C程序中可使用不同类型的变量来进行延时设计。经实验测试,使用unsigned char类型具有比unsigned int更优化的代码,在使用时应该使用unsigned char作为延时变量。  以某晶振为12MHz的单片机为例,晶振为12MHz即一个机器周期为1us。  ...
https://www.eeworm.com/dl/510684.html
下载: 1
查看: 69

源码 TM1638驱动显示例程

#define TM1638_STB                      PORTC_Bit1 #define TM1638_CLK                      PORTC_Bit2 #define TM1638_DIO_IN                DDRC_Bit3=0 ...
https://www.eeworm.com/dl/513966.html
下载: 3
查看: 127