Location:
Search - led main-0
Search list
Description: 1、 利用8031作为主控制器组成一个电子跑表,采用4位LED显示器。
2、 上电或RESET后能启动显示当前(时:分):首次上电复位显示为0时0分,以后各次RESET均显示正确的当前时间。
3、 当按下START键时,作为跑表使用,显示范围是:000.0-999.9秒,当按下STOP键时,跑表停止运行,并保留所停位置的时间显示不变。
4、 利用H键作为时钟校正,即当按下H键时,显示的当前小时值以每秒加一的速度递增(24点即为0点),利用N键作为分校正,使用方法同H键,但60分钟即为0分。
-one, using 8031 as the main controller of an electronic stopwatch, using four LED display. 2, or RESET power can be activated after the current show (am : pm) : the first power-on reset showed At 0000 hours, after the meeting RESET show correct the present time. 3, press the START button, as the stopwatch use, display area is :000.0 - 999.9 seconds, when pressed STOP button, stopwatch stop running, and stop location to which the reservation is the time displayed unchanged. 4, H keys as the clock correction, that is, when? H bonds, shows the current value of an hour to a second increase at a rate (24 points shall be 12:00 a.m.), as the use of N bond is at, with the use of H keys, but 60 minutes shall be 0.
Platform: |
Size: 27705 |
Author: 白光磊 |
Hits:
Description: 2410开发板在ADS下测试LED的程序
运行步骤:
1 打开led.mcp工程文件
2 运行
3 观察开发板上的跑马灯闪烁
文件说明:
init.s 开发板初始化文件
Main.c 中断实验主程序文件-2410 ADS development board in the LED under test running steps : an open led.mcp engineering documents two running three observation of the development board scintillation 5,250 documents : init.s development board initialization file Main.c interrupted experimental main program file
Platform: |
Size: 8633 |
Author: 符杰林 |
Hits:
Description: 1. beep -- PWM测试
为 ADS1.2 下编译的项目, 在sdt2.51的ADW里调试,该程序运行后在57600的超级终端里按PC机键盘的“+”“-” 按键,可以听到BUZZ增大减小的声音。
2. key -- 按键测试
为 SDT2.51 下编译的项目, 在sdt2.51的ADW里调试,该程序运行后按FS44B0X上的按键key1 key2 key3 key4 相应的发光二极管亮
3 keyint -- 按键中断测试
该项目在SDT2.51下编译调试。主程序是while空循环,中断服务程序对应四个按键做相应的处理,key1 按键点亮D1灯,并在串口打印信息,因为没有加按键去抖动程序,所以,一次按键,产生几次中断。
-1. Beep -- PWM ADS1.2 testing for the project under the Build, in the ADW sdt2.51 Lane debugging, after running the 57,600 in the Super Terminal Lane by PC keyboard "" "-" buttons, Buzz can be increased to reduce heard voices. 2. Key -- SDT2.51 key test for the project under the Build, in the ADW sdt2.51 Lane debugging, after running the program on the button FS44B0X key1 key2 key3 key4 corresponding LED top-three keyint -- interrupted test button in the project under the Build SDT2.51 debugging. While space is the main program cycle, interrupt service routine correspondence four keys handled accordingly. key1 D1 lights lit keys, and Serial Print information, because no buttons to increase jitter, and therefore, a button. several have interrupted.
Platform: |
Size: 507339 |
Author: 张淼林 |
Hits:
Description: 5 ledblink -- 跑马灯程序
该项目在SDT2.51下编译调试。最简单的demo程序,运行后3个发光二极管轮流点亮。
6 timerint -- 定时器中断demo程序
该项目在SDT2.51下编译调试。将子目录timerint拷贝到c:\\ 下。
该demo程序的主程序是while空循环,定时器中断服务程序每500ms将3个LED反相。
在57600超级终端里也可以看到中断发生时的信息。
7 uart -- 串口测试程序
该项目在SDT2.51下编译调试。运行后在57600的超级终端里等待PC键盘的输入,当按下 a 或 b 或 c 按键时,超级终端里将显示 You Pressed a ,You Pressed b ,You Pressed c .
-5 ledblink -- 5,250 procedures for the project under the Build SDT2.51 debugging. The most simple demo, the running after three LED lights rotation. 6 timerint -- timer interruption demo procedures of the project under the Build SDT2.51 debugging. Will subdirectory timerint copy of the c : \\ under. The demo procedures while the main program is empty circle, the timer interruption of services in each of 500ms to RP-3 LED. The Super Terminal Lane 57600 can be seen at the time of the interruption information. 7 UART -- Serial testing procedures of the project under the Build SDT2.51 debugging. After running in the Super Terminal 57,600 awaiting the PC keyboard input, or when pressing a button b or c, Super Terminal Lane will be a show Pressed You, You Pressed b, You Pressed c.
Platform: |
Size: 249813 |
Author: 张淼林 |
Hits:
Description: 汇编程序用于TOSHIBA单片机开发
主要功能:键盘扫描,LED驱动-assembler for TOSHIBA MCU Development main functions : scanning keyboard, LED Drivers
Platform: |
Size: 16447 |
Author: sqm |
Hits:
Description: ADI公司ADuC841单片机源程序。
I2C.c: ADuC841单片机I2C接口函数。
kei841.h: ADuC841单片机内部寄存器定义。
delay.c:精确延时资函数。
main_new.c ADuC841单片机主函数,实现正弦波的输出和I2C接口LED显示-ADI ADuC841 MCU source. I2C.c : ADuC841 MCU I2C interface function. Kei841.h : ADuC841 MCU internal register definitions. Delay.c : precision-delay function. Main_new.c ADuC841 MCU main function, achieve sine wave output interface and I2C LED Display
Platform: |
Size: 6104 |
Author: 杨正贤 |
Hits:
Description: 三星44b0的测试程序,
C语言代码主要是应用代码,包括:
设置使用指令缓存;
修改系统主时钟为32MHz;
IO端口功能、方向设定;
初始化中断;
初始化DMF50081液晶模块;
蜂鸣器测试;
液晶显示测试;
LED输出测试;
定时器、PWM测试等;
-Samsung 44b0 testing procedures, C language code is the main application code, including : the establishment of the use of directives cache; Main changes to the system clock of 32 MHz; IO port functions, set direction; Initialization interruption; Initialization DMF50081 LCD module; The buzzer sounded testing; LCD test; LED output test; Timer, PWM testing;
Platform: |
Size: 18503 |
Author: wohulf |
Hits:
Description: 基于8*8点阵的交通灯控制系统,采用主路用点阵控制,辅路用LED控制的方式-8 * 8 on the lattice traffic light control system, using the main road with lattice control, bypass roads LED controlled manner
Platform: |
Size: 1339 |
Author: wang wei |
Hits:
Description: 基于MCS-51单片机的数字钟设计
[摘要] III
[ABSTRACT] IV
引言 1
1绪论 2
1.1 集成电路 2
1.2 主要技术的背景 2
1.2.1 发展历史 2
1.2.2 现状 3
1.2.3 发展趋势 3
2器件简介 4
2.1 LED显示器 4
2.1.1 LED显示器的结构 4
2.1.2 LED的接线形式 5
2.2 AT89C52简介 5
2.2.1 AT89C52主要性能参数: 5
2.2.2 AT89C52单片机的功能特性概述: 6
2.3 DS1302芯片 9
2.3.1 DS1302的性能特性: 9
2.3.2 DS1302数据操作原理 10
2.4 74LS164-八位移位寄存器 14
2.4.1 74LS64简介 14
2.4.2 74LS164逻辑介绍: 15
3硬件电路 17
3.1 线路的设计 17
3.1.1 电源转换模块 18
3.1.2 主控制模块 18
3.1.3 显示模块 19
3.1.4 键盘接口设计 20
3.2 电路图的绘制 20
3.3 电路板的焊接 20
3.4 打开电源前应注意的问题 20
4软件设计部分 21
4.1 阳历程序的设计 21
4.2 时间调整程序设计 21
4.3 阴历程序设计 23
5调试 28
6小结 29
7致谢 30
8参考文献 31
9附录 32
-based on MCS-51 microcontroller design of the digital clock III [Abstract] [ABSTRACT] IV INTRODUCTION Introduction 2 1 1 2 1.2 1.1 IC main technical background history 1.2.1 2 2 1.2. 1.2.3 Situation 2 3 3 2 trends Device Profile 4 2.1 4 LED Displays 2.1.1 LED Display The structure of the four 2.1.2 Connection form LED 5 2.2 5 2.2.1 Introduction AT89C52 AT8 9C52 main performance parameters : 5 2.2.2 AT89C52 outlined in the functional properties : 6 2.3 9 2.3.1 Chip DS1302 DS1302 performance characteristics : 9 2.3.2 DS1302 data operation principle 10 2.4 74LS164-8 shift register 14 74LS64 14 2.4.1 Introduction 2.4.2 74LS164 logic presentations : 15 3 17 3.1 hardware circuit design lines 17 Power Conversion Module 3.1.1 3.1.2 Main Control 18 Module Module 18 3.1.3 3.1.4 keyboard interface 19
Platform: |
Size: 228808 |
Author: 李爱春 |
Hits:
Description: 该程序主要实现通过74ls164实现串行驱动LED并显示,这种显示方法的LED量度较大-the main procedures adopted 74ls164 Serial LED driver and showed that This method showed a larger measure of LED
Platform: |
Size: 18986 |
Author: 杨喜宁 |
Hits:
Description: 我 Porting 的 uC/OS-II V2.84 (目前Micrium)最新版之 Keil C51 工程,专供给 8051 上做任务调度,我已将 Code Size 改小至 4000 Byte,对于 X-Ram 的用量也仅 160 Byte(于 Keil C51 V8.08a 下编译后).我在 Main.c 内创建了两个任务调度的 LED 闪烁程序,方便了解任务是如何被创建的,同时我也在 Keil C51 的 Project 内设好了 Simulator 模式及 Port 1 窗视可即时的观测这两个任务调度情况.
Platform: |
Size: 85144 |
Author: kly |
Hits:
Description: ARM7在uC/OS-II下的测试代码
含:
define.s
main.c
Display.c
LED.c
os_dbg.c
Uart.c
includes.h
ML674000.h
os_cfg.h
Platform: |
Size: 9540 |
Author: 郑凯 |
Hits:
Description: wave公司lab6000实验箱的键盘扫描和led显示程序
Platform: |
Size: 1343 |
Author: wave |
Hits:
Description: 这是我学习驱动开发的第一个小程序. 控制LED灯的开和关.
共有两个文件 gpioctl.c 是驱动程序, main.c是LInux下的测试程序.
Platform: |
Size: 1733 |
Author: rock |
Hits:
Description: 使用凌阳61单片机和1302时间芯片完成时钟功能并使用CH451LS芯片显示(程序中只在0号LED上显示秒)。是使用时,main.c是1302时间芯片的驱动,CH451LS0811.h是简单CH451LS芯片驱动。
Platform: |
Size: 10784 |
Author: 林 |
Hits:
Description: 本文介绍了一种全新的LED显示屏控制解决方案,主要使用Altera cyclone飓风FPGA和16位凌阳单片机SPCE061A作为主控器件,采用较普遍的74LS595作为LED 显示屏显示驱动芯片。-In this paper, a new LED display control solution, the main use of Altera cyclone hurricane FPGA and 16-bit single-chip Sunplus SPCE061A as a master device, using the more common 74LS595 as an LED screen display driver chip.
Platform: |
Size: 370688 |
Author: 上官婉儿 |
Hits:
Description: 步行小绿人是利用ht1632驱动由6*8*8点阵块组成的24*16LED点阵幕来显示小緑人行走动画。采ht4810a为主芯片来控制进行数据传输,
通过 、 、 三根线数据写入 -Walk little green men is to use ht1632 driver from 6* 8* 8 block matrix consisting of 24* 16LED dot-matrix screen to show the little green men walking animation. The main chip to control the mining ht4810a data transmission, through , , three-line data is written to
Platform: |
Size: 2048 |
Author: 张钧 |
Hits:
Description: 基本上程序还是DEMO程序,程序并没有采用定时器来生成PWM,而是采用延时循环来实现,这样就做不了其他事情 了,但实际上只需要将主循环转换为定时器中断处理即可,很简单.这个是参照市面上邦定IC RGB控制功能来做的,这应该是采用单片机方案最便宜版本之一了
-Basically the procedure or DEMO program, the program does not use a timer to generate the PWM, instead of using the delay loop to achieve, so can not do other things, but in fact only need to convert the main loop for the timer interrupt processing can be , is very simple. This is the market bonding IC RGB light control function to do, and this should be the least expensive version of the program with one single chip has
Platform: |
Size: 6144 |
Author: bmlq |
Hits:
Description: 编写一个QT程序以打开一个窗口。窗体中主要有四个指示跑马灯状态的标签和一个控制跑马灯的按钮.步骤指导-Write a QT program to open a window. There are four main forms in the state indicate Marquee Marquee label and a control button Step guide
Platform: |
Size: 234496 |
Author: 曹毅 |
Hits:
Description: 根据STM32寄存器地址,配置P0~P3为推挽输出,点亮LED灯。(According to the STM32 register address, the configuration P0~P3 is push-pull output, and the LED lamp is lit.)
Platform: |
Size: 1024 |
Author: Davidfish
|
Hits: