搜索结果

找到约 250 项符合 CHAR 的查询结果

单片机开发 将运算的结果(浮点数)存入eeprom中。我们知道

将运算的结果(浮点数)存入eeprom中。我们知道,浮点数在c语言中是以ieee格式存储 的,一个浮点数占用四个字节,例如浮点数34.526存为(160,26,10,66)这四个数。要 将一个浮点数存入eeprom,实际上就是要存这四个数。那么如何在程序中得到一个浮点数的 组成数呢? 浮点数在存储时,是存储连续的字节中的,只要设法找 ...
https://www.eeworm.com/dl/648/250421.html
下载: 186
查看: 1102

其他嵌入式/单片机内容 矩阵键盘驱动程序

矩阵键盘驱动程序, unsigned char key(void) 只要调用这个函数即可实现
https://www.eeworm.com/dl/687/253076.html
下载: 200
查看: 1032

嵌入式Linux 基于arm7的uclinux嵌入式驱动程序源代码

基于arm7的uclinux嵌入式驱动程序源代码, 代码很全,包括如下目录: adc、gpio、i2c、pwm、Simple Block Device Driver Module、Simple Char Device Driver Module、Simple Ethernet Device Driver Module、Simple Kernel Module、spi、zlg_ffs
https://www.eeworm.com/dl/653/257896.html
下载: 138
查看: 1056

其他 数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型

数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型 struct RedType // 记录类型(同c10-1.h) { KeyType key // 关键字项 InfoType otherinfo // 其它数据项 } typedef char KeysType // 定义关键字类型为字符型 #include"c ...
https://www.eeworm.com/dl/534/266759.html
下载: 173
查看: 1539

Java编程 注:语音聊天部分还未完成

注:语音聊天部分还未完成,还需要些时间:) 1.运行服务器端需要你的机器上安装了数据库sql200(sp4),程序用的是JTDS的驱动程序。并且需要建一个gamvantalk数据库,还需要创建一些字段:usrname,password,truename,country,fav,tel 均为char类型,其中username和password字段不能为空。 2.客户端连接的默认IP在192.168.1 ...
https://www.eeworm.com/dl/633/274360.html
下载: 189
查看: 1069

数据结构 #include<malloc.h> #include<limits.h> #include<stdio.h> #include<graphics.h&

#include<malloc.h> #include<limits.h> #include<stdio.h> #include<graphics.h> #include<io.h> #include<math.h> #include<process.h> #include<conio.h> #define m 100 #define OK 1 typedef int Status typedef char TElemType /*树元素的类型*/ int t=35 int n=20 int h=14 int u=2 int leaf=0,non_l_leaf=0,non ...
https://www.eeworm.com/dl/654/289829.html
下载: 74
查看: 1136

嵌入式/单片机编程 #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
查看: 1140

游戏 五子棋小游戏#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
查看: 1208

单片机开发 很完整的51串口程序 包括如下: 串口中断服务程序

很完整的51串口程序 包括如下: 串口中断服务程序,仅需做简单调用即可完成串口输入输出的处理 出入均设有缓冲区,大小可任意设置。 可供使用的函数名: char getbyte(void) 从接收缓冲区取一个byte,如不想等待则在调用前检测inbufsign是否为1。 getline(char idata *line, unsigned char n) 获取一行数据回车结束,必须定义 ...
https://www.eeworm.com/dl/648/307943.html
下载: 113
查看: 1085

操作系统开发 编写一个C程序

编写一个C程序,用char *malloc(unsigned size)函数向系统申请一次内存空间(如size=1000,单位为字节),用循环首次适应法 addr = (char *)lmalloc(unsigned size) 和 lfree(unsigned size,char * addr)模拟可变分区内存管理,实现对该内存区的分配和释放管理。 ...
https://www.eeworm.com/dl/531/309757.html
下载: 85
查看: 1073