登录
首页 » SCM » 利用动态扫描和定时器1在数码管上显示 出从765432开始以1/10秒的速度往下递减 直至765398并保持显示此数,与此同时利 用定时器0以500...

利用动态扫描和定时器1在数码管上显示 出从765432开始以1/10秒的速度往下递减 直至765398并保持显示此数,与此同时利 用定时器0以500...

于 2022-02-03 发布 文件大小:1.86 kB
0 202
下载积分: 2 下载次数: 1

代码说明:

利用动态扫描和定时器1在数码管上显示 出从765432开始以1/10秒的速度往下递减 直至765398并保持显示此数,与此同时利 用定时器0以500MS速度进行流水灯从上至 下移动,当数码管上数减到停止时,实验 板上流水灯也停止然后全部开始闪烁,3秒 后(用T0定时)流水灯全部关闭、数码管上 显示出"HELLO"。到此保持住。 设晶振频率为12MHz。-The use of dynamic scanning and Timer 1 in the digital control to show from the beginning of 765,432 to 1/10 seconds until the speed of descending down 765,398 and maintain display this number, at the same time the use of Timer 0 to 500ms the speed of light from the flowing water to Under the move, when reduced to a few digital tube stop, the experiment on-board water stop and then all the lights started to flicker, 3 seconds later (T0 regularly used) closed water lights, digital tubes show

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

发表评论

0 个回复

  • HT1621的驱动文件。对用于测试段码液晶比较有用。程序部分参考了别人。...
    HT1621的驱动文件。对用于测试段码液晶比较有用。程序部分参考了别人。-HT1621 driver file. Paragraph for testing code on the LCD more useful. Program is partly based on other people.
    2022-05-29 20:36:21下载
    积分:1
  • LCD initialization S6B33Bf CSTN LCD the size of 128X160
    S6B33Bf CSTN LCD 初始化 LCD大小128X160-LCD initialization S6B33Bf CSTN LCD the size of 128X160
    2023-01-27 05:15:03下载
    积分:1
  • coreoregano MC8051 IP系统8
    MC8051 IP CoreOregano Systems 8-bit Microcontroller IP-Core此公司提供的8051 core很容易在FPGA 上用同时也是学习VHDL的一份不错的进阶实例-MC8051 IP CoreOregano Systems 8-bit Microcontroller IP-Core company for the 8051 core very easy to use in FPGA VHDL is also studying a good example of the SSP
    2022-05-10 13:55:16下载
    积分:1
  • avr1602源程序 avr1602源程序
    avr1602源程序 avr1602源程序-avr1602 source avr1602 source
    2022-07-16 04:18:10下载
    积分:1
  • 全国电子设计大赛2009个题目的意义和意义。
    2009年全国电子设计大赛的题目,富有借鉴参考的意义,题目,最新,最好!-National Electronic Design Competition in 2009 the subject of the significance of the rich experiences for the title, the latest, the best!
    2022-05-19 15:08:23下载
    积分:1
  • 本设计以P89V51RD2FN单片机为电动小车的控制核心,采用MSA
    本设计以P89V51RD2FN单片机为电动小车的控制核心,采用MSA-LD2.0倾角传感器实时测量跷跷板的倾斜角,用ST198光电传感器检测黑色引导线监测小车运动。光电传感器和倾角传感器模块把实时测量信号馈送至单片机,利用专用细分芯片TA8435H驱动步进电机,以脉宽调制式斩波方式对步进电机步进角进行细分,控制和调节小车速度。采用增量式PID控制算法确保小车能够达到平衡;用RT128×64M液晶显示时间、角度等参数。经测试表明:小车各项性能指标达到设计要求,能够实现30秒内小车行驶到规定点,并保持跷跷板平衡;在跷跷板一端配重可调整的情况下,小车也能自动找到平衡点并保持跷跷板平衡。-The single-chip design for the electric car P89V51RD2FN control of the core, the MSA-LD2.0 seesaw angle sensor real-time measurement of the tilt angle, the detection of black ST198 photoelectric sensor to monitor vehicle movement and guide lines.Photoelectric sensors and angle sensors in real-time measurement module to feed the signal to the microcontroller, using a dedicated sub-chip stepper motor driver TA8435H to PWM chopper-type stepper motor on the sub-stepping angle, control and regulation vehicle speed. The use of incremental PID control algorithm to ensure that the car can achieve balance with LCD RT128 × 64M time, angle and other parameters.After the test showed that: the performance car
    2023-09-02 02:10:04下载
    积分:1
  • CS5460A读写程序.CS5460A是美国CRYSTAL公司最新推出的带有串行接口的单相双向功率/电能计量集成电路芯片...
    CS5460A读写程序.CS5460A是美国CRYSTAL公司最新推出的带有串行接口的单相双向功率/电能计量集成电路芯片-CS5460A read and write program
    2022-06-13 23:39:51下载
    积分:1
  • 美的的一个吸尘器程序
    美的的一个吸尘器程序 -The United States, a vacuum cleaner process
    2022-12-11 16:10:04下载
    积分:1
  • RS-485接口具有较强的抗干扰性,数据传输的距离较远,在一些应用中常常需要把RS-232标准的信号转换为RS-485的标准信号进传输。图中所示电路允许数据在RS-232/RS-485这两个不兼容的串行数据接口间传递。传输速度为480波特时,传输距离可达1750米。图中双RS-232收发器IC1将主机(PC)输出的RS-232电平转换为TTL电平,驱动高速RS-485收发器IC2 的输入,倒相器使IC2、IC3在受到起始位时被激活。-RS-485 trying to lay all the thoroughly bleed at the nose picking up the birthday 扰 fern cavity 强 , Chu Huai basin cavity beat escapement for the birthday candle远Now , Which instance, using Beckmannia中
    2022-02-04 11:12:39下载
    积分:1
  • PIC16F877A 片内TMR1 时钟写的数字时钟
    PIC16F877A 片内TMR1 时钟写的数字时钟-TMR1
    2022-02-21 05:40:13下载
    积分:1
  • 696516资源总数
  • 106554会员总数
  • 12今日下载