登录
首页 » 嵌入式系统 » ds1302+1602shizh0ng.含闹钟

ds1302+1602shizh0ng.含闹钟

于 2022-03-01 发布 文件大小:46.79 kB
0 162
下载积分: 2 下载次数: 1

代码说明:

#include     //包含单片机寄存器的头文件 #include   //包含_nop_()函数定义的头文件 unsigned char code digit[10]={"0123456789"};   //定义字符数组显示数字 sbit SCLK=P2^5;   //位定义1302芯片的接口,时钟输出端口定义在P1.0引脚 sbit DATA=P2^6;   //位定义1302芯片的接口,数据输出端定义在P1.1引脚 I/O sbit RST=P2^7;    //位定义1302芯片的接口,复位端口定义在P1.2引脚 CE sbit s1=P1^0; //   时间移位 sbit s2=P1^1;  //   时间加 sbit s3=P1^2;  //时间减 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • an embedded C library is currently under development, which is the latest versio...
    一个嵌入式的C++库,目前正在处于开发中,该版本是最新版-an embedded C library is currently under development, which is the latest version Version
    2022-04-15 20:26:32下载
    积分:1
  • 液晶模块LCD2X8C驱动程序,自带汉字库,无需程序开发者自己编码,使用简单...
    液晶模块LCD2X8C驱动程序,自带汉字库,无需程序开发者自己编码,使用简单-LCD2X8C LCD driver and carrying Store without developers own coding, simple to use
    2022-10-30 05:40:03下载
    积分:1
  • SPI STM32F4
    这是stm32f4xx的,我刚刚完成了SPI通信。这很简单,但可以帮助新手学习stm32f4xx。干杯!
    2022-02-05 14:12:38下载
    积分:1
  • A Russion Diamonds Game run at s3c44b0x. decompress password:arm520
    在s3c44b0x运行的俄罗斯方块游戏 解压密码:arm520-A Russion Diamonds Game run at s3c44b0x. decompress password:arm520
    2022-05-20 08:27:12下载
    积分:1
  • Arduino 信号过滤库
    In 信号处理, a 筛选器是一个设备或从计算机中删除的进程 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-08-06 13:49:40下载
    积分:1
  • watchdog X25045 control subroutine
    看门狗X25045控制子程序-watchdog X25045 control subroutine
    2022-08-20 14:45:46下载
    积分:1
  • AD9851 to do a baseline audio frequency signal generator can be accurate to 0.01...
    一个以AD9851做频率基准音频信号发生器,可以精确到0.01%。-AD9851 to do a baseline audio frequency signal generator can be accurate to 0.01%.
    2022-02-01 18:11:57下载
    积分:1
  • 包括蕾莉
    Included O Reilly - Programming Embedded Systems in C and C++ pdf. Its been explained fantastically with simple english. Have read many embedded C documents, But the embedded C concept explained here is simple, basic and to the point. -Included O Reilly- Programming Embedded Systems in C and C++ pdf. Its been explained fantastically with simple english. Have read many embedded C documents, But the embedded C concept explained here is simple, basic and to the point.
    2022-01-21 05:48:53下载
    积分:1
  • C89c51 usb driver, realizing the usb serial transfer function provides a virtual...
    C89c51 usb驱动程序,实现了usb转串口的功能,提供了一个虚拟的串口-C89c51 usb driver, realizing the usb serial transfer function provides a virtual serial port
    2022-02-10 08:03:30下载
    积分:1
  • 8051 定时器中断
    使用 8051 定时器作为中断,在嵌入式 C.中编写代码此示例程序演示如何配置定时器/计数器 0 作为一个 16 位定时器。调用中断服务例程 (ISR) 每一次定时器溢出 (0xFFFF 去 0x0000)。在 ISR 中,overflow_countvariable 的增量。若要测试此程序......启动调试器。在 ISR 中的 overflow_count + + 行上设置断点运行该程序。每次调用时中断例程,调试器停止运行该程序。将光标定位在要查看其当前值的 theoverflow_count 变量。
    2023-04-02 13:55:04下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载