搜索资源列表
PID 算法1(c语言)
- PID calculations for the _pid structure *a. This function uses the positional form of the pid equation, and incorporates an integral windup prevention algorithim. Rectangular integration is used, so this function must be repeated on a consistent time
红外遥控接收
- 红外遥控接收 ORG 0000H LJMP START 转入主程序 ORG 0010H START: MAIN: JNB P2.2,IR LJMP MAIN 以下为进入P3.2脚外部中断子程序,也就是解码程序 IR: MOV R6,#9 SB: ACALL DELAY882 调用882微秒延时子程序 JB P2.2,EXIT 延时882微秒后判断P3.2脚是否出现高电平如果有就退出解码程序
Clock1399
- 自己遍的,支持的芯片为max1933,大家做个参考-repeated his support for the chip to max1933, we refer to Be
hongwai-decode
- 红外遥控器软件解码原理和程序(C51) 红外一开始发送一段13。5ms的引导码,引导码由9ms的高电平和4。5ms的低电平组成,跟着引导码是系统码,系统反码,按键码,按键反码,如果按着键不放,则遥控器则发送一段重复码,重复码由9ms的高电平,2。25ms的低电平,跟着是一个短脉冲,本程序是免费给大家,版权所有,不得用于商业目的本程序经过试用,能解大部分遥控器的编码! */-infrared remote control software decoder principles a
CE_UART_DEV
- 要求NK中包含串口驱动组件工作正常,本DLL解决串口的使用问题,如果串口组件不能正常工作,初始化函数返回false 重复使用COMPort_Init()可以打开多个串口-requirements contained components Serial Driver normal work, the serial DLL address the issue of use Serial components if not normal work, initialization function
LCD4
- LCD-7279的经过调试多次已经能够实现在指定的位置显示特定的数据。 程序lcd1.c实现基本的功能,即:键盘输入0、1、2、3、4、5、6、7、8、9、a\\b\\c\\d\\e\\f 在液晶的指定位置显示实现满屏或半屏显示点阵和字符,调入一幅图画的代码进行显示;-LCD-7279 after the repeated testing has been able to achieve the specified location-specific data. Lcd1.c procedu
d169_dma
- D169 Demo - DMA0 Repeated Burst to-from RAM, Software Trigger Descr iption A 32 byte block from 220h-240h is transfered to 240h-260h using DMA0 in a burst block using software DMAREQ trigger. After each transfer, source, destination and DMA
单片机实验二
- 1.将P1.0~P1.3接开关,将P1.4~P1.7接发光二极管。依据P1.0~P1.3开关状态控制P1.4~P1.7发光二极管点亮。 2.将P1.0~P1.7全部接发光二极管,开始P1.0、P1.5点亮,左循环50次后P1.1、P1.4点亮;右循环30次,循环往复。-1. P1.0 - P1.3 will then switch to P1.4 - P1.7 access LEDs. P1.0 - P1.3 based on state control switch P1.4 - P1.7 L
fpq128
- 自己编的一个分频器的程序模版 虽然原理很简单,经过多次实践很实用 被多次用在其它的程序中-own series of the dividers of a procedure template Although very simple principle, after repeated practice by many very practical use in other proceedings, and,
MCD-LED2
- 单键触发8位二进制累加计数器 该程序的目的是让大家熟悉输入、输出端口的使用 该程序的功能是把演示板当做一个按键计数器。刚刚接通电源时,8只发光二极管都不亮。 表示计数器初值为0,当按下开关S3(RB0)时,计数器的值加1,发光二极管D3点亮,表示值1,然后松 开 按钮;再次按下开关S3(RB0)时,计数器的值又加1,发光二极管D4点亮,表示值2,依次类推,反复循 环。-Speed 8-bit binary up-counter trigger the
sbj
- MDT(兼容pic12f509)开发设计,电动车电池盒报警器。关闭电门锁开关电池盒报警器响一声,5s后报警器进入断电状态,5s内重复开关店门锁一次,电池盒报警器发出3声提示音,系统进入预警状态,这时如果有人触碰电动车,系统发出报警声,报警时间12s。预关闭报警器或取消报警状态,需开发一次电门锁。-Electric car battery box alarm. Power door lock switch off the battery compartment alarm beep, 5s int
led
- 主要是显示led的功能,主要是实现反复转换。-Led the main function is to show, is to achieve repeated conversion.
2.2
- 8个发光管由上至下间隔1s流动,其中每个管亮500ms,灭500ms,亮时蜂鸣器响,灭时关闭蜂鸣器,一直重复下去-Eight light-emitting tube top to bottom interval 1s flow which each pipe lit 500ms, off 500ms bright buzzer off when you turn off the buzzer, and has been repeated down
lcd_test
- Xilinx Spartan-3E实验板上基于verilog控制lcd屏幕A到Z反复轮转显示。-Xilinx Spartan-3E verilog based test control board lcd screen A to Z repeated rotary display.
dianzizhong
- 上课时在老师指导下做的电子钟 经过反复修改 适合初学者使用学习参考 内有程序和电路图全套-Class under the guidance of the teachers do modify the clock after repeated reference for beginners to learn within the full set of procedures and schematic
Pca_SMBus_Master_F350
- 该程序是于在单片机上实现飞利浦的IIC通讯总线的主机程序,与从机程序配合,即可实现IIC总线通讯。该源码经过n多次试验,保证有效正确-That the procedure was achieved in single-chip Philips IIC communication bus host procedures, and procedures from the machine with IIC bus communication can be realized. The source, a
1602lcdmoveC++
- xl系列单片机实验仪演示程序 LCD1602 移动显示。 显示方式: 1、LCD第一行显示: ilove 8051 mcu ,LCD第二行显示:13714407535; 2、先将两行字符写入DDRAM中,然后从右至左逐字移出显示。 3、在指定位置停留1.6秒后,闪烁2次,清屏。 4、反复循环上述显示方式。-xl Series Singlechip Experiment LCD1602 Demo Mobile Display. Display: 1, LCD display t
ex3_LED
- 程序所在目录:ex3_LED 打开CC2000,进行如下操作: 1. Project->Open ,打开该目录中的工程文件。 2. Project->Rebuild ALL, 编译链接 3. File->Load Program 4. Debug->GO Main 5. Debug->RUN (快捷键F5) 可以看到的现象为:最边上一个LED 不断闪烁(这个LED 在后面其他的程序中都被定义成在定时器中断中闪烁)。其余的4 个
bootloaderOK2
- 本代bootloader通过usb下载代码首先存放在sdram中,然后拷贝到dataflash中并加载。本代码经过反复测试,准确无误,绝对可靠。环境IAR-This generation through usb download bootloader code stored in the sdram of the first, and then copied to and loaded in dataflash. After repeated testing of the code, accur
duqujianpan
- 这是读取键盘的子程序 主要内容为:如何定义位,如何得到按键状态,防止键盘干扰的方法 以及如何处理读入的键值 思路:首先在某一引脚输出一个电平,然后读入引脚的电平,如果刚好相反 那么可能有按键发生,但是不排除干扰,为了防止干扰,需要软件延时20ms 消除干扰,然后,等待用户释放,否则,可能重复的到某种结果,发生意外情况 应该说键盘输入是单片机外部指令输入的重要途径,因此如何设计键盘以及键盘的工作原理、读键盘的方法、键盘的抗干扰设计等在单电能机系统设计中占有重要地位。
