-
PIC16F877A 24C02读写
资源描述
/***************************************************************************
* 文件名:24c02
* 功 能:利用IIC总线对eeprom 24c02,进行读写
* 作 者:TXMCU
* 日 期:
* 备 注:
//软件思路:当按键KEY0按下时,把6个连续的数据写入到6个连续的单元内,
//写完成后数码管显示单个0,做为完成标志位,当按键KEY1按下后,
//读取EEPROM连续六个单元,读取结果送6位数码管显示
//
//开发板连接方法:将JP10 JP11 JP12 JP13这4个跳线帽分别接到24C02位置
// 把JP8的的跳线帽跳到DPY位置上,JP14选择在IO口位置上
****************************************************************************/
#include
__CONFIG(0x1832);
//芯片配置字,看门狗关,上电延时开,掉电检测关,低压编程关,加密,4M晶体HS振荡
#define address 0xa
#define nop() asm("asm")
//定义待写入的数据
const char ee_data_write[] = {0, 4, 2, 3, 3, 1};
//定义读取数据存放的缓冲区
unsigned char ee_date[6];
//定义0-9的显示代码
- 2022-03-18 07:32:17下载
- 积分:1
-
uCGUI中实现窗体半透明效果应用的例子。
uCGUI中实现窗体半透明效果应用的例子。-uCGUI achieve translucent effect of the application form example.
- 2022-03-03 07:26:40下载
- 积分:1
-
embedded operating system compiler environment hardware structure transplant...
μC/OS-Ⅱ是一个完整的,可移植、固化和裁剪的实时多任务内核,是用ANSI的C语言编写的,包含一小部分汇编语言代码,使之可供不同架构的微处理器使用。-embedded operating system compiler environment hardware structure transplantation Case
- 2023-05-21 12:30:04下载
- 积分:1
-
串口猎人3.0
对于上位机而言:
1、建立项目;
2、在项目中插入MSComm控件
3、利用ClassWizard定义CMSComm类控制变量
4、在对话框中添加控件
5、添加串口事件消息处理函数OnComm()
6、打开和设置串口参数
7、发送数据
8、发送十六进制字符
9、在接收框中以十六进制显示
对于下位机来说:只需要将串口通信程序下载到下位机即可,不过在连接串口猎人时一定要匹配端口号和波特率。
- 2023-01-13 00:45:03下载
- 积分:1
-
环境 keil
利用c51F 中断刷新 LCD (128*64) 内部ram做显示缓存
环境 keil
利用c51F 中断刷新 LCD (128*64) 内部ram做显示缓存-Keil the use of environmental disruption c51F refresh LCD (128* 64) do show that the internal ram cache
- 2023-08-10 00:40:02下载
- 积分:1
-
远程过程调用服务器端程序,用于嵌入式linux中
远程过程调用服务器端程序,用于嵌入式linux中-remote procedure call server software, which for Embedded Linux
- 2022-04-20 23:35:04下载
- 积分:1
-
UNIX commands books Language : English books Type : System Precinct license : fr...
UNIX常用命令
书籍语言: 简体中文
书籍类型: 系统专区
授权方式: 免费软件
书籍大小: 30 KB
-UNIX commands books Language : English books Type : System Precinct license : free software books Size : 30 KB
- 2022-06-26 11:42:08下载
- 积分:1
-
STM32F107 远程, 软件升级
资源描述基于STM32F107 LWIP, 通过网络实现软件远程升级FIRMWARE, 通过BOOTLOADER加以保护
- 2023-04-29 04:45:03下载
- 积分:1
-
单片机实验板完整资料(PCB),包括PCB原理图、单片机技术基础教程与实践书的实验电路板、STC89C51安装图、89S51实验板的一些说明。介绍详细,适合初学...
单片机实验板完整资料(PCB),包括PCB原理图、单片机技术基础教程与实践书的实验电路板、STC89C51安装图、89S51实验板的一些说明。介绍详细,适合初学者。-Complete information Microcontroller Experiment board (PCB), including the PCB schematics, single-chip microcomputer-based tutorial and practice test book, circuit boards, STC89C51 installation diagram, 89S51 experiment board some of the instructions. Describes in detail, suitable for beginners.
- 2023-08-11 02:15:03下载
- 积分:1
-
Lint是一种静态代码检测工具,可以说,PC
PC-Lint是一种静态代码检测工具,可以说,PC-LINT是一种更加严格的编译器,不仅可以象普通编译器那样检查出一般的语法错误,还可以检查出那些虽然完全合乎语法要求,但很可能是潜在的、不易发现的错误。--PC-Lint is a static code checking tool. In other words, PC-Lint is a more powerful compiler. It could detect normal syntax errors like normal compilers, and it also could find some potential and difficult to find errors, though they are correct in syntax.
- 2022-04-19 23:11:09下载
- 积分:1