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

ds1302+1602shizh0ng.含闹钟

于 2022-03-01 发布 文件大小:46.79 kB
0 181
下载积分: 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 个回复

  • iar240*128LCD源码
    iar240*128LCD源码--IAR 240* 128 LCD source code.
    2022-07-05 12:50:26下载
    积分:1
  • pid学习资料代码
    pid学习资料代码-the code of study information of PID
    2022-02-27 05:50:39下载
    积分:1
  • Voltage measurement points of the system and the output of two major signals, vo...
    本系统分电压测量和信号产生输出两大部分,电压测量部分以模拟电路为主,配合放大模块、A/D转化模块、显示模块;通过凌阳单片机进行数据处理,在误差允许范围内显示测量电压值。信号产生以直接数字式频率合成器为核心,经过AT89S52对DDS芯片内部进行控制,使之输出标准正弦波形,利用编程实现频率预置、步进,达到电压输出频率的可调节步进。通过调试与测量完成了题目的基本部分和全部发挥部分的要求并有自己的创新。-Voltage measurement points of the system and the output of two major signals, voltage measurement circuitry to simulate the main part, with the amplification module, A/D conversion module, display module through Sunplus Single-chip data processing, in the range of error allowed shows the value of measuring voltage. Signal generated by direct digital frequency synthesizer for the core of the DDS chip AT89S52 after the internal control standards so that the output sine wave shape, frequency of use of pre-programming, step to the output voltage adjustable frequency step. Debugging and measurement, through the completion of the basic part of the topic and all the requirements to play a part and have their own innovation.
    2023-01-14 20:15:03下载
    积分:1
  • lpc2292的can总线的简单收发程序 底层驱动程序都有
    lpc2292的can总线的简单收发程序 底层驱动程序都有-can lpc2292 the bus transceiver procedures simple bottom-driven processes
    2023-02-01 14:25:03下载
    积分:1
  • 电子电路库 将库全部内容简单方便,通俗易懂。
    电子电路库 将库全部内容简单方便,通俗易懂。-electronic circuits for the entire contents will be simple, easily understood.
    2023-06-12 00:05:08下载
    积分:1
  • 51 FAT文件
    应用背景主要应用于51单片机的SD卡操作,完美适用于STC12c60s2单片机,现在的这方面的资源比较少,适用于51的更少,所以如果有需要这方面的资源,可以参考下,个人觉得很不错,已调通。关键技术51单片机的SD卡操作,完美适用于STC12c60s2单片机,函数有点大,住要是ZNFAT.C文件,里面是文件系统的主要函数,不过有些函数还未有待实验,SD.H文件的4个引脚可以根据自己的单片机自己定义,串口函数波特率为2400;
    2022-01-25 18:08:39下载
    积分:1
  • 4第四章 M文件和程序设计。让你学会如何编写MS程序。
    4第四章 M文件和程序设计。让你学会如何编写MS程序。-chapter 4 could tell you how to use M file and program it.
    2022-04-18 11:53:37下载
    积分:1
  • 日立单片机实现IIC的的程序,由C语言写出,已经调试通过,可以放心使用...
    日立单片机实现IIC的的程序,由C语言写出,已经调试通过,可以放心使用-Hitachi MCU IIC of the process from the C language to write, debug, can be assured use
    2022-08-06 12:15:22下载
    积分:1
  • 一种国人开发的GPL的bootloader,现支持arm , 是U
    一种国人开发的GPL的bootloader,现支持arm , 是U-boot之外的一种选择.-Of a Chinese development of GPL" s bootloader, now support the arm, is the U-boot outside of a choice.
    2022-07-15 03:28:18下载
    积分:1
  • ARM Cortex CMSIS接口示例
    ARM COrtex CMSIS interface example
    2022-02-04 08:21:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载