搜索资源列表
SUN单片机课程设计报告
- 1、 利用8031作为主控制器组成一个电子跑表,采用4位LED显示器。 2、 上电或RESET后能启动显示当前(时:分):首次上电复位显示为0时0分,以后各次RESET均显示正确的当前时间。 3、 当按下START键时,作为跑表使用,显示范围是:000.0-999.9秒,当按下STOP键时,跑表停止运行,并保留所停位置的时间显示不变。 4、 利用H键作为时钟校正,即当按下H键时,显示的当前小时值以每秒加一的速度递增(24点即为0点),利用N键作为分校正,使用方法同H键,但60分钟即为
zlg500b
- zlg500B包括以下文件: M_zlg500B.uv2 zlg500B.c main.c main.h zlg500b.h-zlg500B include the following documents : M_zlg500B.uv2 zlg500B.c main.c main.h zlg500 b.h
CypressCY7C63723C-CombiMouse
- 用CY7C63723设计的鼠标固件程序 chip.c - include file that defines CY7C63723 constants - combi.c - main source file - combi.hex - Intel hex file for programming a CY7C63723 microcontroller - combi.lst - output listing from c-compiler for use with the
ADuC841_TEST
- 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 regis
485-502demo
- 此程序是RS485从机通讯,包含3部分:接收帧程序、发送帧程序及执行命令程序。 从机通讯地址从地址开关读取4位 由于485的通信规约差别很大,这里只是提供参考,具体请参照自己的项目特点做修改,抛砖引玉。 #include<reg52.h> #include<main.h> #include<hy502.h> -this procedure is RS485 communications from the plane, contains t
s6b0741_r23
- 三星lcd驱动,S6B0741,128X129FENBLV#ifndef _LCD_H_ #define _LCD_H_ #include \"settings.h\" #include \"Battery.h\" #include \"EnDecode.h\" #include \"main.h\"
key.h
- 该头文件配合key.c,在main函数中调用key.c,都文件中添加key.h,使软件更清晰,一目了然
ATMega88+ATA6824
- 基于Atmel ATMega88+ATA682的应用实例 主要功能包括: 1) PWM输出控制 2) H-Bridge,4 POWER FET 驱动 3) 模拟量比较-Based on Atmel ATMega88+ ATA682 the application of the main features include: 1) PWM output control 2) H-Bridge, 4 POWER FET Driver 3) Analog Comparison
music
- 单片机播放音乐实验(汇编) org 0000h ajmp main org 000bh ajmp timer0 org 0030h timer0: clr ea djnz 33h,exit mov 33h,53h djnz 32h,exit mov 32h,52h djnz 31h,exit1 mov 31h,51h djnz 30h,exit1 setb f0 ajmp exit exit1: cpl p2.1 e
h
- WiMAX Throughput Evaluation of Conventional Relaying Pavel Mach1, Robert Bestak1 1 Department of Telecommunications Engineering, Faculty of Electrical Engineering, Czech Technical University, Technicka 2, 166 27 Prague 6, Czech Republic {
Ctimegame
- 本次源码包含1302.h,12864.h,18b20.h和主函数,还有用proteus的仿真图,可按照仿真图制作成硬件,主要功能有电子万年历,贪吃蛇和俄罗斯方块游戏,测试已通过,可用,本人已将其制作成了实物。-The source code contains 1302.h, 12864.h, 18b20.h and the main function, as well as the simulation map with proteus can be made into a hardware g
430f14x.h
- TCP/IP在MSP430上的实现 其中的一段程序 关于MSP430的主程序 很实用-TCP/IP implementation on the MSP430 a program in which the main program is very useful on the MSP430
STC89
- STC头文件指的是采用C语言开发STC单片机时所需要的硬件定义文件,对于不同的单片机型号,头文件对应不同,其中主要定义单片机硬件的功能及接口。只有在头文件中做好了定义,才能对应上C语言程序与硬件之间的关系。 在C语言家族程序中,头文件被大量使用。一般而言,每个C++/C程序通常由头文件(header files)和定义文件(definition files)组成。头文件作为一种包含功能函数、数据接口声明的载体文件,用于保存程序的声明(declaration),而定义文件用于保存程序的实现 (
C51_IIC_bus_24C02
- AT89C51/52单片机模拟I2C总线,驱动1k的EEPROM存储芯片24C02的程序,已经封装好,直接在工程中添加24C02.C文件,并且在主函数中#include 24C02.H-AT89C51/52 chip analog I2C bus, the driver chip 24C02 1k of EEPROM program memory, has a good package, add 24C02.C directly in the project file, and in the m
C51_LCD12864
- AT89C51/52单片机驱动点阵液晶屏LCD12864的程序,已经封装好,直接在工程中添加LCD12864.C文件,并且在主函数中#include LCD12864.H-AT89C51/52 dot matrix LCD driver chip LCD12864 procedures are packaged well, directly in the project to add LCD12864.C file, and in the main function# include LCD12
msp430x41xu_Minimum-system
- 基于msp430x41xu_Minimum system 基于msp430x41x最小系统源代码,包含基本的底层配置和测试程序。适合TI的430系列单片机入门者学习单片机软件基本架构 文件结构: main.c Comm.C CommID.h Def.h EepromAddr.h I2C.c Lcd.c Main.h Tariff.c Temperature.c Timer.c-Based on the msp430x41xu_Minimum s
KeyBoard
- 键盘功能模块 函数名:KeyAction * 描 述:按键动作的实现函数,根据键码执行相应动作-#define _KEY_BOARD_C #include "config.h" #include "main.h" #include "KeyBoard.h" #include "UartCom.h" #include "PCF8591.h"if (buff[0] <= 9) { buff[0]+= 0 } else { buff[0]
main
- 1:读取输入P1.0口的电压值,由于硬件实现了将5V以上的电压转换为三分之一的输入定呀, 由于电动车单个蓄电池最高电压为12v,经过运放电路,输入到P1.0口的电压值最高是4V 2:当读取到的电压小于3V,声光报警电路接通并报警。 3:P1.3口具有高低捕获功能,本程序设定是下降沿触发。 将捕获到的数字经过转换后送到数码管显示。 4:数码管是4位带小数点共阳数码管。用于显示转速大小。转速单位是Km/h。 一般电动车最高时速不超过100K
ADC3andDMAhighspeed(2.4Msps)
- 硬件平台:STM32F429I-DISCORVERY 软件平台:KEIL MDK5.10 在STM32F429I-DISCO board中,由于串口2被L3GD20和液晶数据线占用,所以串口1很方便,而且还留了2个孔外接。 * 说 明 : 实现printf和scanf函数重定向到串口1,即支持printf信息到USART1 * 实现重定向,只需要添加2个函数: * int fputc(int ch, FILE *f) * int fgetc(FI
main.h
- 关于stm32的pwm input 的代码(It's the codes about pwm input of stm32)