-
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
-
S3C44B0X内部共有6个16位的定时器单元这个实验把所有的定时器都用中断方式测试。...
S3C44B0X内部共有6个16位的定时器单元这个实验把所有的定时器都用中断方式测试。--S3C44B0X has 6 16-bit internal timers. This program tests all the timers by using interrupts.
- 2022-03-30 02:56:17下载
- 积分:1
-
嵌入式课设:多功能秒表计时器
系统的主要功能:系统的主要功能分为以下几点: n 具有功能完整的计时器,拥有暂停、继续、归零三个主要功能。 n 能够同时使用的五个计时器。用户可以选择在同一时间段记录1~5个时间。各个计时器之间不会有干扰,能独立运行。 n 具有定时器倒计
- 2022-08-16 14:07:40下载
- 积分:1
-
cypress的an2131开发板原理图
cypress的an2131开发板原理图-cypress an2131 the development board diagram
- 2023-09-04 18:05:03下载
- 积分:1
-
The book for the Linux programming tool, covering all aspects of Linux developme...
本书为Linux编程工具书,涵盖了Linux程序开发的方方面面,内容深刻,讲解全面,对于一些高级主题如进程间通信等介绍的比较深入,是一本不可多得的Linux开发的高级参考书。-The book for the Linux programming tool, covering all aspects of Linux development, content depth, on full, for some advanced topics such as inter-process communication, such as described in more in-depth, is a rare high-level reference Linux Development .
- 2022-02-25 12:15:55下载
- 积分:1
-
程序说明:Mifare1读写模块H6152(德国ACG公司)操作函数库
5. * ASCII协议,默认设置,使用查询方式发送接收,调用前建议添加超时控制...
程序说明:Mifare1读写模块H6152(德国ACG公司)操作函数库
5. * ASCII协议,默认设置,使用查询方式发送接收,调用前建议添加超时控制
6. * 使用语言:C51
7. * 编译工具:Keil uVision2.38a
-An explanation of the procedures: Mifare1 read-write module H6152 (Germany ACG company) to operate the library 5.* ASCII protocol, the default settings, use the send to receive inquiries, call timeout before the control is proposed to add 6.* Use of language: C51 7.* Compiler tools : Keil uVision2.38a
- 2022-03-30 02:02:58下载
- 积分:1
-
Solid State Voice Recorder Using Flash MSP430
Solid State Voice Recorder Using Flash MSP430
- 2022-02-10 01:31:58下载
- 积分:1
-
The source code can achieve a variety of stepper motors and motor function accom...
该源程序能够实现步进电机的各种运动功能并伴随着相应的LED输出-The source code can achieve a variety of stepper motors and motor function accompanied by a corresponding LED output
- 2022-12-26 22:20:03下载
- 积分:1
-
Linux操作系统开始在移动电话上得到应用
Linux操作系统开始在移动电话上得到应用
-Linux operating system began to be applied on mobile phones
- 2022-02-05 02:12:32下载
- 积分:1
-
51单片机实现对PS/2键盘的操作程序,验证通过.
51单片机实现对PS/2键盘的操作程序,验证通过.-SCM right PS/2 keyboard, operating procedures
- 2022-11-25 10:40:03下载
- 积分:1