登录
首页 » SCM » P1.7~P1.0接发光二极管L8~L1,要求利用单片机内部定时器1,按方式1工作,每0.01秒T1溢出中断一次。要求编写程序模拟时序控制装置。开机第1秒钟L1...

P1.7~P1.0接发光二极管L8~L1,要求利用单片机内部定时器1,按方式1工作,每0.01秒T1溢出中断一次。要求编写程序模拟时序控制装置。开机第1秒钟L1...

于 2022-01-26 发布 文件大小:33.08 kB
0 91
下载积分: 2 下载次数: 1

代码说明:

P1.7~P1.0接发光二极管L8~L1,要求利用单片机内部定时器1,按方式1工作,每0.01秒T1溢出中断一次。要求编写程序模拟时序控制装置。开机第1秒钟L1、L3亮,第2秒钟L2、L4亮,第3秒钟L5、L7亮,第4秒钟L6、L8亮,第5秒钟L1、L3、L5、L7亮,第6秒钟L2、L4、L6、L8亮,第7秒钟8个发光二极管全亮,……一直循环下去。fosc=11.0592MHz-P1.7- P1.0 then LED L1 to L8, by using a timer internal microcontroller, a work by the way, every 0.01 seconds T1 interrupted an overflow. Simulation prepared timing control device. Boot 1 seconds L1, L3- liang, two seconds L2- L4, L5 three seconds, L7- liang, 4 seconds L6, L8-liang, 5 seconds L1, L2, L5, L7- liang, 6 seconds L2, L4, L6, L8- , 7 seconds 8-LED whole ... has been the cycle continues. 11.0592MHz fosc =

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

发表评论


0 个回复

  • 实验dp_51pro图形液晶显示实验。在一个随机的第一…
    DP_51PRO实验仪图形液晶显示实验。先在屏幕上的随机位置显示随机数字(0--9), * 然后调用画直线函数以屏幕中心为中点画对称的直线,最后显示一个简单的窗口。-Experiment DP_51PRO graphics liquid crystal display experiment. First in a random location on the screen shows random number (0 9),* then calls the function to draw a straight line in the screen center line stipple symmetry, and finally shows a simple window.
    2022-01-26 15:58:14下载
    积分:1
  • This is my own written HD44780 LCD1602 LCD procedure is based on the AVR Single...
    这是我自已写的HD44780 LCD1602液晶屏的程序,是基于AVR单片机上实现的。 /************************************************************************************************** * 简介 * * 本模块仅使用于字符显示液晶模块 * * 当前版本的驱动仅支持以下类型LCD模块驱动: * Hitachi HD44780 或与之兼容的芯片. * * LCD显示函数支持以下格式: * 1 line x 16 characters 2 lines x 16 characters 4 lines x 16 characters * 1 line x 20 characters 2 lines x 20 characters 4 lines x 20 characters * 1 line x 24 characters 2 lines x 24 characters * 1 line x 40 characters 2 lines x 40 characters *说明: * 1 line x 16 characters 需要定义为2*8的液晶模块 * * 不支持外部内存模式 **************************************************************************************************/ -This is my own written HD44780 LCD1602 LCD procedure is based on the AVR Single Chip achievable. /*************************************************************************************************** Introduction** This module uses only the characters displayed in the LCD module** the current version of the driver
    2022-03-22 03:56:19下载
    积分:1
  • 24C02 with the infrared data reception procedures, I2C 24C02 is written in the p...
    带有24C02的红外数据接收程序,24C02是用I2C写的,接收端口为P3-2-24C02 with the infrared data reception procedures, I2C 24C02 is written in the port to receive P3-2
    2022-07-24 13:37:36下载
    积分:1
  • STM32通过串行Flash更新,没有固件库,包括:广告..
    STM32 通过串口flash更新程序, 不用固件库,包括: ADC采样, 定时器延时中断, 键盘扫描, 模拟I2C驱动 问题咨询: w123456xy@sohu.com 15189792379-STM32 through the serial flash update, without firmware libraries, including: ADC sampling, delay timer interrupt, keyboard scanning, I2C driver Advisory: w123456xy@sohu.com 15189792379
    2023-04-20 09:00:03下载
    积分:1
  • 由MSP430 控制实现的 短消息收发功能的系统 可利用单片机的 串口与无线MODEM 进行连接在进行发送和解析数据 必须按照PDU的格式进行处理...
    由MSP430 控制实现的 短消息收发功能的系统 可利用单片机的 串口与无线MODEM 进行连接在进行发送和解析数据 必须按照PDU的格式进行处理-MSP430 control achieved by the Short Message System transceiver functions of the MCU can be used with wireless modem serial port to connect to send and conducting analytical data must be in accordance with the format PDU processing
    2022-10-29 14:15:03下载
    积分:1
  • 利用单片机的定时器定时,令十字路口的红绿灯交替点亮和熄灭,实现主支路路口的交通信号灯控制(尽可能保持主线的畅通,即在通常情况下,保持主线的放行,只有在支线到达时...
    利用单片机的定时器定时,令十字路口的红绿灯交替点亮和熄灭,实现主支路路口的交通信号灯控制(尽可能保持主线的畅通,即在通常情况下,保持主线的放行,只有在支线到达时,才放行支线),同时采用LCD显示倒计时时间及当前灯的状态。-The use of MCU timer timing, so that the crossroads at the traffic lights turn out light and to achieve the main slip road junction traffic lights control (as far as possible the smooth flow of the main line, that is, under normal circumstances, to maintain the release of the main line, and only arrived at the branch only when the release branch), while using LCD display countdown time and the current lighting condition.
    2023-06-21 15:30:03下载
    积分:1
  • AT89S52单片机控制的ADC0809和DAC0832实验汇编程序
    AT89S52单片机控制的ADC0809和DAC0832实验汇编程序-AT89S52 MCU ADC0809 and DAC0832 experimental assembler
    2022-03-24 11:20:14下载
    积分:1
  • PHP是一种新型的CGI程序编写语言,易学易用,运行速度快,可以方便快捷地编写出功能强大,运行速度快,并可同时运行于 Windows、Unix、Linux平台的...
    PHP是一种新型的CGI程序编写语言,易学易用,运行速度快,可以方便快捷地编写出功能强大,运行速度快,并可同时运行于 Windows、Unix、Linux平台的Web后台程序,内置了对文件上传、密码认证、Cookies操作、邮件收发、动态GIF生成等功能,PHP 直接为很多数据库提供原本的连接,包括Oracle、Sybase、Postgres、Mysql、Informix、Dbase、Solid、 Access等,完全支持ODBC接口,用户更换平台时,无需变换PHP代码,可即拿即用. -PHP is a new type of CGI programming language, easy to learn and easy to use, run fast, you can quickly and easily write a powerful, fast, and can run on Windows, Unix, Linux platforms, Web daemon, built-in for file upload, password authentication, Cookies operations, send and receive e-mail, dynamic GIF generation features, PHP directly to many of the original database connectivity, including Oracle, Sybase, Postgres, Mysql, Informix, Dbase, Solid, Access and so on, completely support ODBC interface, user replacement of platform, without changing the PHP code, you can get that instant.
    2023-02-04 20:30:03下载
    积分:1
  • c#can yin guan li xi tong
    c#can yin guan li xi tong
    2023-02-09 19:40:04下载
    积分:1
  • T6963 技术资料.
    T6963 技术资料.-T6963 technical information.
    2022-01-26 03:24:30下载
    积分:1
  • 696518资源总数
  • 104603会员总数
  • 38今日下载