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

ds1302+1602shizh0ng.含闹钟

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

  • 没有单片机的四象限直流电机控制
    该项目旨在开发一个直流电机四象限控制系统。马达操作在四个象限,即顺时针旋转 ;逆时钟明智的正向制动和反向制动。直流电动机的四个象限运行是最适合工业 wheremotors 使用和按要求,他们可以在顺时针旋转,计数器顺时针旋转和也踩刹车立即在两个方向。第三十四条在工业环境中,bestopped 立即的电机需要特定的操作。在这种情况下,这项拟议系统是非常恰当的 asforward 刹车和反向制动是其积分功能。 瞬时刹车在这两个 directionshappens 由于反向电压跨运行电机申请一个短暂的时期。在项目中使用的 555 定时器的发展所需的脉冲。按钮提供的电机,连接到提供给它的输入的信号,并反过来控制驱动芯片 motorthrough 的循环操作。(可选) 速度控制功能可以实现 (但救生艇上不配备在此项目中) 由按钮操作。这个项目可以提高利用较高的电力电子装置对 operatehigh 容量的直流电机。也可以纳入再生制动优化的能耗。
    2022-05-19 12:23:26下载
    积分:1
  • CENTER arm in a transplant code, we welcome the study reference. Common learning...
    ucos在arm上的移植代码,欢迎大家学习参考。共同学习,共同进步。-CENTER arm in a transplant code, we welcome the study reference. Common learning and common progress.
    2022-01-21 00:21:23下载
    积分:1
  • Liuzhou fs2410p excellent experimental box sdk document, after loading, you can...
    优龙fs2410p实验箱的sdk文件,装载后,可以直接在平台上运行应用程序-Liuzhou fs2410p excellent experimental box sdk document, after loading, you can run directly on the platform applications
    2022-03-02 12:56:00下载
    积分:1
  • this program gives the idea about how image is represented in different plane in...
    this program gives the idea about how image is represented in different plane in an 8bit mode.
    2022-08-15 15:39:44下载
    积分:1
  • USB 源码 ISP1581 Device controller
    USB 源码 ISP1581 Device controller--ISP1581 Device controller.
    2022-01-28 08:57:13下载
    积分:1
  • 是TCL的另外一个编译(解释)器,TCL是国外制作GUI的模板化工具...
    是TCL的另外一个编译(解释)器,TCL是国外制作GUI的模板化工具-TCL is another compiler (interpretation) device, TCL is produced abroad template GUI tools
    2022-04-09 16:13:47下载
    积分:1
  • DE2 练习源码2-4
    Part IV In part II we discussed the conversion of binary numbers into decimal digits. It is sometimes useful to build circuits that use this method of representing decimal numbers, in which each decimal digit is represented using four bits. This scheme is known as the binary coded decimal (BCD) representation. As an example, the decimal value 59 is encoded in BCD form as 0101 1001. You are to design a circuit that adds two BCD digits. The inputs to the circuit are BCD numbers A and B, plus a carry-in, cin. The output should be a two-digit BCD sum S1S0. Note that the largest sum that needs to be handled by this circuit is S
    2022-03-18 00:20:50下载
    积分:1
  • teach you step by step how to compile Basis kernel, including ext2 file system m...
    一步 教你如何去编译uclinux内核,包括文件系统ext2的挂载,网络驱动,基本的cash命令,lcd frambuffer功能,串口功能等内容。-teach you step by step how to compile Basis kernel, including ext2 file system mount, network drives, the basic cash orders, LCD frambuffer functions, such as serial port function.
    2022-02-03 00:57:41下载
    积分:1
  • blackfin 533 digital
    blackfin 533数模转换的源代码 很基础的 大家有兴趣的看下-blackfin 533 digital-analog conversion of the source code is based on U.S. interest facie
    2023-04-14 15:10:03下载
    积分:1
  • S3C4510 LCD testing programs (including source code, a smooth change its functio...
    S3C4510液晶显示器测试程序(含源代码,一个平滑的改变其功能)
    2022-05-08 22:24:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载